#232689#232689

#232689 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.160 H 272.8°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#232689
RGBrgb(35, 38, 137)
HSLhsl(238, 59%, 34%)
HSVhsv(238, 74%, 54%)
CMYKcmyk(74.5%, 72.3%, 0%, 46.3%)
CIE-LABlab(22.12, 33.66, -55.15)
CIE-LCHlch(22.12, 64.61, 301.40°)
OKLaboklab(34.27% 0.0079 -0.1595)
OKLCHoklch(34.27% 0.16 272.8)
XYZxyz(5.9001, 3.5491, 24.0362)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232689 #898623
analogous
#235989 #232689 #532389
triadic
#232689 #892326 #268923
tetradic
#232689 #892359 #898623 #238953
square
#232689 #892359 #898623 #238953
split-complementary
#232689 #895323 #598923
monochromatic
#0A0B28 #171858 #232689 #2F34BA #5357D3

Accessibility & contrast

On white

12.28
#232689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#232689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232689
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232689#FFFFFF#000000##FFFFFF
##2326891.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232689;
/* rgb */ color: rgb(35, 38, 137);
/* oklch */ color: oklch(34.3% 0.160 272.8);
Tailwind
colors: {
  custom: {
    50: '#6f61ac',
    500: '#232689',
    950: '#000000',
  },
}
SCSS
$custom: #232689;
$custom-light: #6f61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#232689",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 238.235,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34267,
    "c": 0.15971,
    "h": 272.8
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#232689
secondary
#B7B451
accent
#DE45E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #232689

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

Preview Lab → · Contrast checker → · Palette generator →

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