#233A78#233A78

#233A78 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.110 H 265.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#233A78
RGBrgb(35, 58, 120)
HSLhsl(224, 55%, 30%)
HSVhsv(224, 71%, 47%)
CMYKcmyk(70.8%, 51.7%, 0%, 52.9%)
CIE-LABlab(25.98, 13.57, -38.17)
CIE-LCHlch(25.98, 40.51, 289.57°)
OKLaboklab(36.67% -0.0079 -0.1095)
OKLCHoklch(36.67% 0.11 265.9)
XYZxyz(5.5952, 4.7390, 18.3855)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A78 #786123
analogous
#236478 #233A78 #372378
triadic
#233A78 #78233A #3A7823
tetradic
#233A78 #782364 #786123 #237837
square
#233A78 #782364 #786123 #237837
split-complementary
#233A78 #783723 #647823
monochromatic
#070C19 #152349 #233A78 #3151A7 #4B6DCA

Accessibility & contrast

On white

10.78
#233A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#233A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A78
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A78#FFFFFF#000000##FFFFFF
##233A781.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427A
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #233a78;
/* rgb */ color: rgb(35, 58, 120);
/* oklch */ color: oklch(36.7% 0.110 265.9);
Tailwind
colors: {
  custom: {
    50: '#696f9f',
    500: '#233a78',
    950: '#000000',
  },
}
SCSS
$custom: #233a78;
$custom-light: #696f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#233a78",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 223.765,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3667,
    "c": 0.10977,
    "h": 265.9
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#233A78
secondary
#AB914C
accent
#B64ADE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #233A78

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

Preview Lab → · Contrast checker → · Palette generator →

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