#232997#232997

#232997 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.175 H 271.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#232997
RGBrgb(35, 41, 151)
HSLhsl(237, 62%, 36%)
HSVhsv(237, 77%, 59%)
CMYKcmyk(76.8%, 72.8%, 0%, 40.8%)
CIE-LABlab(24.25, 36.80, -60.32)
CIE-LCHlch(24.25, 70.66, 301.39°)
OKLaboklab(36.23% 0.0043 -0.1746)
OKLCHoklch(36.23% 0.175 271.4)
XYZxyz(7.0701, 4.1768, 29.7057)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232997 #979123
analogous
#236397 #232997 #572397
triadic
#232997 #972329 #299723
tetradic
#232997 #972363 #979123 #239757
square
#232997 #972363 #979123 #239757
split-complementary
#232997 #975723 #639723
monochromatic
#0C0E34 #171C65 #232997 #2F36C9 #5B62D9

Accessibility & contrast

On white

11.44
#232997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#232997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232997
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232997#FFFFFF#000000##FFFFFF
##2329971.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #232997;
/* rgb */ color: rgb(35, 41, 151);
/* oklch */ color: oklch(36.2% 0.175 271.4);
Tailwind
colors: {
  custom: {
    50: '#7263b7',
    500: '#232997',
    950: '#000000',
  },
}
SCSS
$custom: #232997;
$custom-light: #7263b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232997",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 236.897,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36229,
    "c": 0.17466,
    "h": 271.4
  },
  "luminance": 0.04178
}

Semantic roles & 50–950 ramp

primary
#232997
secondary
#BEB858
accent
#DD42E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #232997

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

Preview Lab → · Contrast checker → · Palette generator →

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