#235997#235997

#235997 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.116 H 254.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#235997
RGBrgb(35, 89, 151)
HSLhsl(212, 62%, 36%)
HSVhsv(212, 77%, 59%)
CMYKcmyk(76.8%, 41.1%, 0%, 40.8%)
CIE-LABlab(37.36, 4.84, -39.04)
CIE-LCHlch(37.36, 39.34, 277.06°)
OKLaboklab(46.1% -0.0317 -0.1115)
OKLCHoklch(46.1% 0.116 254.1)
XYZxyz(9.8494, 9.7353, 30.6322)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235997 #976123
analogous
#239397 #235997 #272397
triadic
#235997 #972359 #599723
tetradic
#235997 #972393 #976123 #239727
square
#235997 #972393 #976123 #239727
split-complementary
#235997 #972723 #939723
monochromatic
#0C1E34 #173C65 #235997 #2F76C9 #5B96D9

Accessibility & contrast

On white

7.13
#235997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#235997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235997
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235997#FFFFFF#000000##FFFFFF
##2359971.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E99
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #235997;
/* rgb */ color: rgb(35, 89, 151);
/* oklch */ color: oklch(46.1% 0.116 254.1);
Tailwind
colors: {
  custom: {
    50: '#6f87b6',
    500: '#235997',
    950: '#000000',
  },
}
SCSS
$custom: #235997;
$custom-light: #6f87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#235997",
  "rgb": {
    "r": 35,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 212.069,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.461,
    "c": 0.11593,
    "h": 254.1
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#235997
secondary
#BE8E58
accent
#9A42E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #235997

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

Preview Lab → · Contrast checker → · Palette generator →

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