#235979#235979

#235979 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.3% C 0.077 H 238.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#235979
RGBrgb(35, 89, 121)
HSLhsl(202, 55%, 31%)
HSVhsv(202, 71%, 47%)
CMYKcmyk(71.1%, 26.4%, 0%, 52.5%)
CIE-LABlab(35.76, -6.59, -23.29)
CIE-LCHlch(35.76, 24.21, 254.20°)
OKLaboklab(44.31% -0.0408 -0.0656)
OKLCHoklch(44.31% 0.077 238.1)
XYZxyz(7.7154, 8.8817, 19.3932)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235979 #794323
analogous
#23796E #235979 #232E79
triadic
#235979 #792359 #597923
tetradic
#235979 #6E2379 #794323 #2E7923
square
#235979 #6E2379 #794323 #2E7923
split-complementary
#235979 #79232E #796E23
monochromatic
#08131A #15364A #235979 #317CA8 #4B9CCB

Accessibility & contrast

On white

7.56
#235979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#235979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235979
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235979#FFFFFF#000000##FFFFFF
##2359791.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597A
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #235979;
/* rgb */ color: rgb(35, 89, 121);
/* oklch */ color: oklch(44.3% 0.077 238.1);
Tailwind
colors: {
  custom: {
    50: '#6987a0',
    500: '#235979',
    950: '#000000',
  },
}
SCSS
$custom: #235979;
$custom-light: #6987a0;
$custom-dark: #000000;
JSON
{
  "hex": "#235979",
  "rgb": {
    "r": 35,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 202.326,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44311,
    "c": 0.0772,
    "h": 238.1
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#235979
secondary
#AC704C
accent
#8149DE
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #235979

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

Preview Lab → · Contrast checker → · Palette generator →

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