#232097#232097

#232097 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.184 H 272.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#232097
RGBrgb(35, 32, 151)
HSLhsl(242, 65%, 36%)
HSVhsv(242, 79%, 59%)
CMYKcmyk(76.8%, 78.8%, 0%, 40.8%)
CIE-LABlab(22.39, 42.04, -63.40)
CIE-LCHlch(22.39, 76.07, 303.55°)
OKLaboklab(34.91% 0.0083 -0.1835)
OKLCHoklch(34.91% 0.184 272.6)
XYZxyz(6.7937, 3.6240, 29.6136)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232097 #949720
analogous
#205897 #232097 #5E2097
triadic
#232097 #972320 #209723
tetradic
#232097 #972058 #949720 #20975E
square
#232097 #972058 #949720 #20975E
split-complementary
#232097 #975E20 #589720
monochromatic
#0C0B32 #171564 #232097 #2F2BC9 #5A56DB

Accessibility & contrast

On white

12.17
#232097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232097
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232097#FFFFFF#000000##FFFFFF
##2320971.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232097;
/* rgb */ color: rgb(35, 32, 151);
/* oklch */ color: oklch(34.9% 0.184 272.6);
Tailwind
colors: {
  custom: {
    50: '#735eb7',
    500: '#232097',
    950: '#000000',
  },
}
SCSS
$custom: #232097;
$custom-light: #735eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#232097",
  "rgb": {
    "r": 35,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 241.513,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34909,
    "c": 0.18366,
    "h": 272.6
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#232097
secondary
#BCBF54
accent
#E840E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #232097

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

Preview Lab → · Contrast checker → · Palette generator →

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