#235187#235187

#235187 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.103 H 254.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#235187
RGBrgb(35, 81, 135)
HSLhsl(212, 59%, 33%)
HSVhsv(212, 74%, 53%)
CMYKcmyk(74.1%, 40%, 0%, 47.1%)
CIE-LABlab(33.96, 3.83, -34.73)
CIE-LCHlch(33.96, 34.94, 276.29°)
OKLaboklab(43.14% -0.0279 -0.099)
OKLCHoklch(43.14% 0.103 254.2)
XYZxyz(8.0071, 7.9906, 24.0373)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235187 #875923
analogous
#238387 #235187 #272387
triadic
#235187 #872351 #518723
tetradic
#235187 #872383 #875923 #238727
square
#235187 #872383 #875923 #238727
split-complementary
#235187 #872723 #838723
monochromatic
#0A1726 #163456 #235187 #306EB8 #528DD2

Accessibility & contrast

On white

8.08
#235187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#235187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235187
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235187#FFFFFF#000000##FFFFFF
##2351871.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#294C86
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #235187;
/* rgb */ color: rgb(35, 81, 135);
/* oklch */ color: oklch(43.1% 0.103 254.2);
Tailwind
colors: {
  custom: {
    50: '#6c81aa',
    500: '#235187',
    950: '#000000',
  },
}
SCSS
$custom: #235187;
$custom-light: #6c81aa;
$custom-dark: #000000;
JSON
{
  "hex": "#235187",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 212.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.10285,
    "h": 254.2
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#235187
secondary
#B68750
accent
#9A46E2
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #235187

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

Preview Lab → · Contrast checker → · Palette generator →

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