#235879#235879

#235879 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.1% C 0.078 H 239.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#235879
RGBrgb(35, 88, 121)
HSLhsl(203, 55%, 31%)
HSVhsv(203, 71%, 47%)
CMYKcmyk(71.1%, 27.3%, 0%, 52.5%)
CIE-LABlab(35.43, -5.98, -23.80)
CIE-LCHlch(35.43, 24.54, 255.91°)
OKLaboklab(44.05% -0.0396 -0.067)
OKLCHoklch(44.05% 0.078 239.4)
XYZxyz(7.6327, 8.7164, 19.3656)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235879 #794423
analogous
#23796F #235879 #232D79
triadic
#235879 #792358 #587923
tetradic
#235879 #6F2379 #794423 #2D7923
square
#235879 #6F2379 #794423 #2D7923
split-complementary
#235879 #79232D #796F23
monochromatic
#08131A #15354A #235879 #317BA8 #4B9ACB

Accessibility & contrast

On white

7.65
#235879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#235879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235879
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235879#FFFFFF#000000##FFFFFF
##2358791.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#3D5078
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #235879;
/* rgb */ color: rgb(35, 88, 121);
/* oklch */ color: oklch(44.1% 0.078 239.4);
Tailwind
colors: {
  custom: {
    50: '#6987a0',
    500: '#235879',
    950: '#000000',
  },
}
SCSS
$custom: #235879;
$custom-light: #6987a0;
$custom-dark: #000000;
JSON
{
  "hex": "#235879",
  "rgb": {
    "r": 35,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 203.023,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44054,
    "c": 0.07788,
    "h": 239.4
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#235879
secondary
#AC714C
accent
#8349DE
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #235879

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

Preview Lab → · Contrast checker → · Palette generator →

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