#233E78#233E78

#233E78 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.104 H 263.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#233E78
RGBrgb(35, 62, 120)
HSLhsl(221, 55%, 30%)
HSVhsv(221, 71%, 47%)
CMYKcmyk(70.8%, 48.3%, 0%, 52.9%)
CIE-LABlab(27.18, 10.78, -36.23)
CIE-LCHlch(27.18, 37.80, 286.57°)
OKLaboklab(37.59% -0.0119 -0.1037)
OKLCHoklch(37.59% 0.104 263.4)
XYZxyz(5.8047, 5.1581, 18.4553)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233E78 #785D23
analogous
#236878 #233E78 #322378
triadic
#233E78 #78233E #3E7823
tetradic
#233E78 #782368 #785D23 #237832
square
#233E78 #782368 #785D23 #237832
split-complementary
#233E78 #783223 #687823
monochromatic
#070D19 #152649 #233E78 #3156A7 #4B73CA

Accessibility & contrast

On white

10.34
#233E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#233E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233E78
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233E78#FFFFFF#000000##FFFFFF
##233E781.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#0F3D77
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #233e78;
/* rgb */ color: rgb(35, 62, 120);
/* oklch */ color: oklch(37.6% 0.104 263.4);
Tailwind
colors: {
  custom: {
    50: '#69729f',
    500: '#233e78',
    950: '#000000',
  },
}
SCSS
$custom: #233e78;
$custom-light: #69729f;
$custom-dark: #000000;
JSON
{
  "hex": "#233e78",
  "rgb": {
    "r": 35,
    "g": 62,
    "b": 120
  },
  "hsl": {
    "h": 220.941,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37589,
    "c": 0.10441,
    "h": 263.4
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#233E78
secondary
#AB8D4C
accent
#AF4ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #233E78

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

Preview Lab → · Contrast checker → · Palette generator →

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