#234879#234879

#234879 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.093 H 256.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#234879
RGBrgb(35, 72, 121)
HSLhsl(214, 55%, 31%)
HSVhsv(214, 71%, 47%)
CMYKcmyk(71.1%, 40.5%, 0%, 52.5%)
CIE-LABlab(30.33, 4.35, -31.83)
CIE-LCHlch(30.33, 32.13, 277.78°)
OKLaboklab(40.04% -0.0222 -0.0906)
OKLCHoklch(40.04% 0.093 256.2)
XYZxyz(6.4604, 6.3719, 18.9749)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234879 #795423
analogous
#237379 #234879 #292379
triadic
#234879 #792348 #487923
tetradic
#234879 #792373 #795423 #237929
square
#234879 #792373 #795423 #237929
split-complementary
#234879 #792923 #737923
monochromatic
#08101A #152C4A #234879 #3164A8 #4B82CB

Accessibility & contrast

On white

9.23
#234879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#234879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234879
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234879#FFFFFF#000000##FFFFFF
##2348791.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#254478
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234879;
/* rgb */ color: rgb(35, 72, 121);
/* oklch */ color: oklch(40.0% 0.093 256.2);
Tailwind
colors: {
  custom: {
    50: '#697aa0',
    500: '#234879',
    950: '#000000',
  },
}
SCSS
$custom: #234879;
$custom-light: #697aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#234879",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 214.186,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.0933,
    "h": 256.2
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#234879
secondary
#AC834C
accent
#9E49DE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #234879

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

Preview Lab → · Contrast checker → · Palette generator →

#234879 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva