#233B78#233B78

#233B78 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.108 H 265.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#233B78
RGBrgb(35, 59, 120)
HSLhsl(223, 55%, 30%)
HSVhsv(223, 71%, 47%)
CMYKcmyk(70.8%, 50.8%, 0%, 52.9%)
CIE-LABlab(26.28, 12.87, -37.69)
CIE-LCHlch(26.28, 39.82, 288.85°)
OKLaboklab(36.9% -0.0089 -0.1081)
OKLCHoklch(36.9% 0.108 265.3)
XYZxyz(5.6461, 4.8408, 18.4025)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B78 #786023
analogous
#236578 #233B78 #352378
triadic
#233B78 #78233B #3B7823
tetradic
#233B78 #782365 #786023 #237835
square
#233B78 #782365 #786023 #237835
split-complementary
#233B78 #783523 #657823
monochromatic
#070C19 #152449 #233B78 #3152A7 #4B6FCA

Accessibility & contrast

On white

10.67
#233B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#233B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B78
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B78#FFFFFF#000000##FFFFFF
##233B781.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A427A
Deuteranopia (green-blind)
#033B77
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #233b78;
/* rgb */ color: rgb(35, 59, 120);
/* oklch */ color: oklch(36.9% 0.108 265.3);
Tailwind
colors: {
  custom: {
    50: '#69709f',
    500: '#233b78',
    950: '#000000',
  },
}
SCSS
$custom: #233b78;
$custom-light: #69709f;
$custom-dark: #000000;
JSON
{
  "hex": "#233b78",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 223.059,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36898,
    "c": 0.10843,
    "h": 265.3
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#233B78
secondary
#AB904C
accent
#B44ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #233B78

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

Preview Lab → · Contrast checker → · Palette generator →

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