#233E97#233E97

#233E97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.150 H 266.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#233E97
RGBrgb(35, 62, 151)
HSLhsl(226, 62%, 36%)
HSVhsv(226, 77%, 59%)
CMYKcmyk(76.8%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.50, 22.98, -51.71)
CIE-LCHlch(29.50, 56.59, 293.96°)
OKLaboklab(40.09% -0.0088 -0.1492)
OKLCHoklch(40.09% 0.15 266.6)
XYZxyz(7.9997, 6.0361, 30.0156)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E97 #977C23
analogous
#237897 #233E97 #422397
triadic
#233E97 #97233E #3E9723
tetradic
#233E97 #972378 #977C23 #239742
square
#233E97 #972378 #977C23 #239742
split-complementary
#233E97 #974223 #789723
monochromatic
#0C1534 #172A65 #233E97 #2F52C9 #5B79D9

Accessibility & contrast

On white

9.51
#233E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#233E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E97
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E97#FFFFFF#000000##FFFFFF
##233E971.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #233e97;
/* rgb */ color: rgb(35, 62, 151);
/* oklch */ color: oklch(40.1% 0.150 266.6);
Tailwind
colors: {
  custom: {
    50: '#7072b6',
    500: '#233e97',
    950: '#000000',
  },
}
SCSS
$custom: #233e97;
$custom-light: #7072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#233e97",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 226.034,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40086,
    "c": 0.14951,
    "h": 266.6
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#233E97
secondary
#BEA658
accent
#BF42E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #233E97

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

Preview Lab → · Contrast checker → · Palette generator →

#233E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva