#234877#234877

#234877 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.090 H 255.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#234877
RGBrgb(35, 72, 119)
HSLhsl(214, 55%, 30%)
HSVhsv(214, 71%, 47%)
CMYKcmyk(70.6%, 39.5%, 0%, 53.3%)
CIE-LABlab(30.21, 3.57, -30.76)
CIE-LCHlch(30.21, 30.97, 276.62°)
OKLaboklab(39.92% -0.0227 -0.0875)
OKLCHoklch(39.92% 0.09 255.5)
XYZxyz(6.3391, 6.3233, 18.3356)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234877 #775223
analogous
#237277 #234877 #282377
triadic
#234877 #772348 #487723
tetradic
#234877 #772372 #775223 #237728
square
#234877 #772372 #775223 #237728
split-complementary
#234877 #772823 #727723
monochromatic
#070F18 #152B48 #234877 #3165A6 #4A83CA

Accessibility & contrast

On white

9.27
#234877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#234877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234877
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234877#FFFFFF#000000##FFFFFF
##2348771.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B79
Deuteranopia (green-blind)
#274476
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234877;
/* rgb */ color: rgb(35, 72, 119);
/* oklch */ color: oklch(39.9% 0.090 255.5);
Tailwind
colors: {
  custom: {
    50: '#687a9e',
    500: '#234877',
    950: '#000000',
  },
}
SCSS
$custom: #234877;
$custom-light: #687a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#234877",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 213.571,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39915,
    "c": 0.09041,
    "h": 255.5
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#234877
secondary
#AA804C
accent
#9D4ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #234877

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

Preview Lab → · Contrast checker → · Palette generator →

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