#234A78#234A78

#234A78 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.090 H 254.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#234A78
RGBrgb(35, 74, 120)
HSLhsl(212, 55%, 30%)
HSVhsv(212, 71%, 47%)
CMYKcmyk(70.8%, 38.3%, 0%, 52.9%)
CIE-LABlab(30.90, 2.62, -30.30)
CIE-LCHlch(30.90, 30.41, 274.95°)
OKLaboklab(40.47% -0.0246 -0.0861)
OKLCHoklch(40.47% 0.09 254.1)
XYZxyz(6.5308, 6.6103, 18.6974)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234A78 #785123
analogous
#237478 #234A78 #272378
triadic
#234A78 #78234A #4A7823
tetradic
#234A78 #782374 #785123 #237827
square
#234A78 #782374 #785123 #237827
split-complementary
#234A78 #782723 #747823
monochromatic
#071019 #152D49 #234A78 #3167A7 #4B85CA

Accessibility & contrast

On white

9.04
#234A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#234A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234A78
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234A78#FFFFFF#000000##FFFFFF
##234A781.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7A
Deuteranopia (green-blind)
#294577
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234a78;
/* rgb */ color: rgb(35, 74, 120);
/* oklch */ color: oklch(40.5% 0.090 254.1);
Tailwind
colors: {
  custom: {
    50: '#687c9f',
    500: '#234a78',
    950: '#000000',
  },
}
SCSS
$custom: #234a78;
$custom-light: #687c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#234a78",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 120
  },
  "hsl": {
    "h": 212.471,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40471,
    "c": 0.08956,
    "h": 254.1
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#234A78
secondary
#AB7F4C
accent
#9A4ADE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #234A78

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

Preview Lab → · Contrast checker → · Palette generator →

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