#232394#232394

#232394 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.177 H 272.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#232394
RGBrgb(35, 35, 148)
HSLhsl(240, 62%, 36%)
HSVhsv(240, 76%, 58%)
CMYKcmyk(76.4%, 76.4%, 0%, 42%)
CIE-LABlab(22.64, 39.34, -61.12)
CIE-LCHlch(22.64, 72.69, 302.77°)
OKLaboklab(34.99% 0.0076 -0.1769)
OKLCHoklch(34.99% 0.177 272.5)
XYZxyz(6.6377, 3.6968, 28.3750)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232394 #949423
analogous
#235B94 #232394 #5B2394
triadic
#232394 #942323 #239423
tetradic
#232394 #94235B #949423 #23945B
square
#232394 #94235B #949423 #23945B
split-complementary
#232394 #945B23 #5B9423
monochromatic
#0C0C31 #171763 #232394 #2F2FC5 #5A5AD8

Accessibility & contrast

On white

12.07
#232394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#232394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232394
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232394#FFFFFF#000000##FFFFFF
##2323941.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232394;
/* rgb */ color: rgb(35, 35, 148);
/* oklch */ color: oklch(35.0% 0.177 272.5);
Tailwind
colors: {
  custom: {
    50: '#725fb5',
    500: '#232394',
    950: '#000000',
  },
}
SCSS
$custom: #232394;
$custom-light: #725fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#232394",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 240,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3499,
    "c": 0.17706,
    "h": 272.5
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#232394
secondary
#BCBC57
accent
#E543E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232394

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#232394 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva