#232687#232687

#232687 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.157 H 273.0°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#232687
RGBrgb(35, 38, 135)
HSLhsl(238, 59%, 33%)
HSVhsv(238, 74%, 53%)
CMYKcmyk(74.1%, 71.9%, 0%, 47.1%)
CIE-LABlab(21.92, 32.94, -54.23)
CIE-LCHlch(21.92, 63.45, 301.27°)
OKLaboklab(34.06% 0.0082 -0.1568)
OKLCHoklch(34.06% 0.157 273)
XYZxyz(5.7580, 3.4922, 23.2876)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232687 #878423
analogous
#235887 #232687 #522387
triadic
#232687 #872326 #268723
tetradic
#232687 #872358 #878423 #238752
square
#232687 #872358 #878423 #238752
split-complementary
#232687 #875223 #588723
monochromatic
#0A0B26 #161856 #232687 #3034B8 #5256D2

Accessibility & contrast

On white

12.36
#232687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#232687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232687
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232687#FFFFFF#000000##FFFFFF
##2326871.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232687;
/* rgb */ color: rgb(35, 38, 135);
/* oklch */ color: oklch(34.1% 0.157 273.0);
Tailwind
colors: {
  custom: {
    50: '#6e61ab',
    500: '#232687',
    950: '#000000',
  },
}
SCSS
$custom: #232687;
$custom-light: #6e61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#232687",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 238.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34058,
    "c": 0.15706,
    "h": 273
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#232687
secondary
#B6B350
accent
#DD46E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232687

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

Preview Lab → · Contrast checker → · Palette generator →

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