#233C78#233C78

#233C78 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.107 H 264.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#233C78
RGBrgb(35, 60, 120)
HSLhsl(222, 55%, 30%)
HSVhsv(222, 71%, 47%)
CMYKcmyk(70.8%, 50%, 0%, 52.9%)
CIE-LABlab(26.58, 12.17, -37.21)
CIE-LCHlch(26.58, 39.15, 288.11°)
OKLaboklab(37.13% -0.0099 -0.1066)
OKLCHoklch(37.13% 0.107 264.7)
XYZxyz(5.6980, 4.9445, 18.4198)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C78 #785F23
analogous
#236678 #233C78 #342378
triadic
#233C78 #78233C #3C7823
tetradic
#233C78 #782366 #785F23 #237834
square
#233C78 #782366 #785F23 #237834
split-complementary
#233C78 #783423 #667823
monochromatic
#070D19 #152449 #233C78 #3154A7 #4B70CA

Accessibility & contrast

On white

10.56
#233C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#233C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C78
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C78#FFFFFF#000000##FFFFFF
##233C781.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437A
Deuteranopia (green-blind)
#073B77
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233c78;
/* rgb */ color: rgb(35, 60, 120);
/* oklch */ color: oklch(37.1% 0.107 264.7);
Tailwind
colors: {
  custom: {
    50: '#69719f',
    500: '#233c78',
    950: '#000000',
  },
}
SCSS
$custom: #233c78;
$custom-light: #69719f;
$custom-dark: #000000;
JSON
{
  "hex": "#233c78",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 120
  },
  "hsl": {
    "h": 222.353,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37127,
    "c": 0.10708,
    "h": 264.7
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#233C78
secondary
#AB8F4C
accent
#B24ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #233C78

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

Preview Lab → · Contrast checker → · Palette generator →

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