#233D79#233D79

#233D79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.107 H 264.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#233D79
RGBrgb(35, 61, 121)
HSLhsl(222, 55%, 31%)
HSVhsv(222, 71%, 47%)
CMYKcmyk(71.1%, 49.6%, 0%, 52.5%)
CIE-LABlab(26.95, 11.87, -37.24)
CIE-LCHlch(26.95, 39.09, 287.68°)
OKLaboklab(37.43% -0.0107 -0.1067)
OKLCHoklch(37.43% 0.107 264.2)
XYZxyz(5.8119, 5.0747, 18.7587)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233D79 #795F23
analogous
#236879 #233D79 #342379
triadic
#233D79 #79233D #3D7923
tetradic
#233D79 #792368 #795F23 #237934
square
#233D79 #792368 #795F23 #237934
split-complementary
#233D79 #793423 #687923
monochromatic
#080D1A #15254A #233D79 #3155A8 #4B72CB

Accessibility & contrast

On white

10.42
#233D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#233D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233D79
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233D79#FFFFFF#000000##FFFFFF
##233D791.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#093C78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233d79;
/* rgb */ color: rgb(35, 61, 121);
/* oklch */ color: oklch(37.4% 0.107 264.2);
Tailwind
colors: {
  custom: {
    50: '#6972a0',
    500: '#233d79',
    950: '#000000',
  },
}
SCSS
$custom: #233d79;
$custom-light: #6972a0;
$custom-dark: #000000;
JSON
{
  "hex": "#233d79",
  "rgb": {
    "r": 35,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 221.86,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37432,
    "c": 0.10725,
    "h": 264.2
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#233D79
secondary
#AC8F4C
accent
#B149DE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #233D79

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

Preview Lab → · Contrast checker → · Palette generator →

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