#233E79#233E79

#233E79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.106 H 263.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#233E79
RGBrgb(35, 62, 121)
HSLhsl(221, 55%, 31%)
HSVhsv(221, 71%, 47%)
CMYKcmyk(71.1%, 48.8%, 0%, 52.5%)
CIE-LABlab(27.25, 11.17, -36.76)
CIE-LCHlch(27.25, 38.42, 286.91°)
OKLaboklab(37.66% -0.0118 -0.1053)
OKLCHoklch(37.66% 0.106 263.6)
XYZxyz(5.8657, 5.1825, 18.7766)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E79 #795E23
analogous
#236979 #233E79 #332379
triadic
#233E79 #79233E #3E7923
tetradic
#233E79 #792369 #795E23 #237933
square
#233E79 #792369 #795E23 #237933
split-complementary
#233E79 #793323 #697923
monochromatic
#080D1A #15264A #233E79 #3156A8 #4B73CB

Accessibility & contrast

On white

10.31
#233E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#233E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E79
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E79#FFFFFF#000000##FFFFFF
##233E791.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#0D3D78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233e79;
/* rgb */ color: rgb(35, 62, 121);
/* oklch */ color: oklch(37.7% 0.106 263.6);
Tailwind
colors: {
  custom: {
    50: '#6972a0',
    500: '#233e79',
    950: '#000000',
  },
}
SCSS
$custom: #233e79;
$custom-light: #6972a0;
$custom-dark: #000000;
JSON
{
  "hex": "#233e79",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 221.163,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37663,
    "c": 0.10592,
    "h": 263.6
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#233E79
secondary
#AC8E4C
accent
#B049DE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #233E79

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

Preview Lab → · Contrast checker → · Palette generator →

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