#233D97#233D97

#233D97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.151 H 266.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#233D97
RGBrgb(35, 61, 151)
HSLhsl(227, 62%, 36%)
HSVhsv(227, 77%, 59%)
CMYKcmyk(76.8%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.23, 23.67, -52.15)
CIE-LCHlch(29.23, 57.27, 294.41°)
OKLaboklab(39.88% -0.0081 -0.1506)
OKLCHoklch(39.88% 0.151 266.9)
XYZxyz(7.9458, 5.9283, 29.9977)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D97 #977D23
analogous
#237797 #233D97 #432397
triadic
#233D97 #97233D #3D9723
tetradic
#233D97 #972377 #977D23 #239743
square
#233D97 #972377 #977D23 #239743
split-complementary
#233D97 #974323 #779723
monochromatic
#0C1534 #172965 #233D97 #2F51C9 #5B78D9

Accessibility & contrast

On white

9.61
#233D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#233D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D97
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D97#FFFFFF#000000##FFFFFF
##233D971.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233d97;
/* rgb */ color: rgb(35, 61, 151);
/* oklch */ color: oklch(39.9% 0.151 266.9);
Tailwind
colors: {
  custom: {
    50: '#7072b6',
    500: '#233d97',
    950: '#000000',
  },
}
SCSS
$custom: #233d97;
$custom-light: #7072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#233d97",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 226.552,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39882,
    "c": 0.15079,
    "h": 266.9
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#233D97
secondary
#BEA758
accent
#C142E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233D97

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

Preview Lab → · Contrast checker → · Palette generator →

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