#233D62#233D62

#233D62 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 35.8% C 0.072 H 257.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#233D62
RGBrgb(35, 61, 98)
HSLhsl(215, 47%, 26%)
HSVhsv(215, 64%, 38%)
CMYKcmyk(64.3%, 37.8%, 0%, 61.6%)
CIE-LABlab(25.49, 2.91, -24.87)
CIE-LCHlch(25.49, 25.04, 276.68°)
OKLaboklab(35.84% -0.0158 -0.0704)
OKLCHoklch(35.84% 0.072 257.3)
XYZxyz(4.5657, 4.5762, 12.1956)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D62 #624823
analogous
#235C62 #233D62 #282362
triadic
#233D62 #62233D #3D6223
tetradic
#233D62 #62235C #624823 #236228
square
#233D62 #62235C #624823 #236228
split-complementary
#233D62 #622823 #5C6223
monochromatic
#080E17 #132135 #233D62 #33598F #4375BC

Accessibility & contrast

On white

10.96
#233D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#233D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D62
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D62#FFFFFF#000000##FFFFFF
##233D621.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4064
Deuteranopia (green-blind)
#253A61
Tritanopia (blue-blind)
#00454B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #233d62;
/* rgb */ color: rgb(35, 61, 98);
/* oklch */ color: oklch(35.8% 0.072 257.3);
Tailwind
colors: {
  custom: {
    50: '#64728f',
    500: '#233d62',
    950: '#000000',
  },
}
SCSS
$custom: #233d62;
$custom-light: #64728f;
$custom-dark: #000000;
JSON
{
  "hex": "#233d62",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 98
  },
  "hsl": {
    "h": 215.238,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.07218,
    "h": 257.3
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#233D62
secondary
#96774B
accent
#A051D7
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #233D62

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

Preview Lab → · Contrast checker → · Palette generator →

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