#233F78#233F78

#233F78 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.103 H 262.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#233F78
RGBrgb(35, 63, 120)
HSLhsl(220, 55%, 30%)
HSVhsv(220, 71%, 47%)
CMYKcmyk(70.8%, 47.5%, 0%, 52.9%)
CIE-LABlab(27.48, 10.09, -35.75)
CIE-LCHlch(27.48, 37.14, 285.76°)
OKLaboklab(37.82% -0.013 -0.1023)
OKLCHoklch(37.82% 0.103 262.8)
XYZxyz(5.8596, 5.2678, 18.4736)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F78 #785C23
analogous
#236A78 #233F78 #312378
triadic
#233F78 #78233F #3F7823
tetradic
#233F78 #78236A #785C23 #237831
square
#233F78 #78236A #785C23 #237831
split-complementary
#233F78 #783123 #6A7823
monochromatic
#070D19 #152649 #233F78 #3158A7 #4B75CA

Accessibility & contrast

On white

10.23
#233F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#233F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F78
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F78#FFFFFF#000000##FFFFFF
##233F781.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#123D77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #233f78;
/* rgb */ color: rgb(35, 63, 120);
/* oklch */ color: oklch(37.8% 0.103 262.8);
Tailwind
colors: {
  custom: {
    50: '#69739f',
    500: '#233f78',
    950: '#000000',
  },
}
SCSS
$custom: #233f78;
$custom-light: #69739f;
$custom-dark: #000000;
JSON
{
  "hex": "#233f78",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 220.235,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37823,
    "c": 0.1031,
    "h": 262.8
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#233F78
secondary
#AB8C4C
accent
#AD4ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #233F78

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

Preview Lab → · Contrast checker → · Palette generator →

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