#235787#235787

#235787 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.6% C 0.096 H 249.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#235787
RGBrgb(35, 87, 135)
HSLhsl(209, 59%, 33%)
HSVhsv(209, 74%, 53%)
CMYKcmyk(74.1%, 35.6%, 0%, 47.1%)
CIE-LABlab(35.83, -0.06, -31.77)
CIE-LCHlch(35.83, 31.77, 269.89°)
OKLaboklab(44.61% -0.034 -0.0902)
OKLCHoklch(44.61% 0.096 249.4)
XYZxyz(8.4729, 8.9220, 24.1926)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235787 #875323
analogous
#238785 #235787 #232587
triadic
#235787 #872357 #578723
tetradic
#235787 #852387 #875323 #258723
square
#235787 #852387 #875323 #258723
split-complementary
#235787 #872325 #878523
monochromatic
#0A1826 #163856 #235787 #3076B8 #5295D2

Accessibility & contrast

On white

7.54
#235787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #235787
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235787#FFFFFF#000000##FFFFFF
##2357871.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #235787;
/* rgb */ color: rgb(35, 87, 135);
/* oklch */ color: oklch(44.6% 0.096 249.4);
Tailwind
colors: {
  custom: {
    50: '#6c86aa',
    500: '#235787',
    950: '#000000',
  },
}
SCSS
$custom: #235787;
$custom-light: #6c86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#235787",
  "rgb": {
    "r": 35,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 208.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.09641,
    "h": 249.4
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#235787
secondary
#B68150
accent
#9146E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #235787

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

Preview Lab → · Contrast checker → · Palette generator →

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