#234874#234874

#234874 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.7% C 0.086 H 254.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#234874
RGBrgb(35, 72, 116)
HSLhsl(213, 54%, 30%)
HSVhsv(213, 70%, 45%)
CMYKcmyk(69.8%, 37.9%, 0%, 54.5%)
CIE-LABlab(30.04, 2.41, -29.16)
CIE-LCHlch(30.04, 29.26, 274.72°)
OKLaboklab(39.72% -0.0235 -0.0828)
OKLCHoklch(39.72% 0.086 254.1)
XYZxyz(6.1617, 6.2524, 17.4017)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234874 #744F23
analogous
#237074 #234874 #272374
triadic
#234874 #742348 #487423
tetradic
#234874 #742370 #744F23 #237427
square
#234874 #742370 #744F23 #237427
split-complementary
#234874 #742723 #707423
monochromatic
#070F18 #152B45 #234874 #3165A3 #4983C8

Accessibility & contrast

On white

9.33
#234874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#234874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234874
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234874#FFFFFF#000000##FFFFFF
##2348741.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B76
Deuteranopia (green-blind)
#294373
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234874;
/* rgb */ color: rgb(35, 72, 116);
/* oklch */ color: oklch(39.7% 0.086 254.1);
Tailwind
colors: {
  custom: {
    50: '#687a9c',
    500: '#234874',
    950: '#000000',
  },
}
SCSS
$custom: #234874;
$custom-light: #687a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#234874",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 212.593,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39723,
    "c": 0.08608,
    "h": 254.1
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#234874
secondary
#A77D4C
accent
#9A4BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #234874

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

Preview Lab → · Contrast checker → · Palette generator →

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