#232684#232684

#232684 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.153 H 273.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#232684
RGBrgb(35, 38, 132)
HSLhsl(238, 58%, 33%)
HSVhsv(238, 73%, 52%)
CMYKcmyk(73.5%, 71.2%, 0%, 48.2%)
CIE-LABlab(21.61, 31.85, -52.85)
CIE-LCHlch(21.61, 61.71, 301.08°)
OKLaboklab(33.75% 0.0086 -0.1528)
OKLCHoklch(33.75% 0.153 273.2)
XYZxyz(5.5497, 3.4089, 22.1908)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232684 #848123
analogous
#235784 #232684 #502384
triadic
#232684 #842326 #268423
tetradic
#232684 #842357 #848123 #238450
square
#232684 #842357 #848123 #238450
split-complementary
#232684 #845023 #578423
monochromatic
#090A23 #161854 #232684 #3034B4 #5155D1

Accessibility & contrast

On white

12.49
#232684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#232684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232684
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232684#FFFFFF#000000##FFFFFF
##2326841.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232684;
/* rgb */ color: rgb(35, 38, 132);
/* oklch */ color: oklch(33.7% 0.153 273.2);
Tailwind
colors: {
  custom: {
    50: '#6d61a9',
    500: '#232684',
    950: '#000000',
  },
}
SCSS
$custom: #232684;
$custom-light: #6d61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#232684",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 238.144,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33747,
    "c": 0.15304,
    "h": 273.2
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#232684
secondary
#B4B14E
accent
#DD46E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232684

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

Preview Lab → · Contrast checker → · Palette generator →

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