#235897#235897

#235897 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.9% C 0.117 H 254.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#235897
RGBrgb(35, 88, 151)
HSLhsl(213, 62%, 36%)
HSVhsv(213, 77%, 59%)
CMYKcmyk(76.8%, 41.7%, 0%, 40.8%)
CIE-LABlab(37.06, 5.49, -39.53)
CIE-LCHlch(37.06, 39.91, 277.90°)
OKLaboklab(45.86% -0.0308 -0.1129)
OKLCHoklch(45.86% 0.117 254.8)
XYZxyz(9.7667, 9.5700, 30.6046)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235897 #976223
analogous
#239297 #235897 #282397
triadic
#235897 #972358 #589723
tetradic
#235897 #972392 #976223 #239728
square
#235897 #972392 #976223 #239728
split-complementary
#235897 #972823 #929723
monochromatic
#0C1E34 #173B65 #235897 #2F75C9 #5B95D9

Accessibility & contrast

On white

7.21
#235897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#235897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235897
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235897#FFFFFF#000000##FFFFFF
##2358971.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D99
Deuteranopia (green-blind)
#265296
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #235897;
/* rgb */ color: rgb(35, 88, 151);
/* oklch */ color: oklch(45.9% 0.117 254.8);
Tailwind
colors: {
  custom: {
    50: '#6f86b6',
    500: '#235897',
    950: '#000000',
  },
}
SCSS
$custom: #235897;
$custom-light: #6f86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#235897",
  "rgb": {
    "r": 35,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 212.586,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45864,
    "c": 0.11706,
    "h": 254.8
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#235897
secondary
#BE8F58
accent
#9B42E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #235897

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

Preview Lab → · Contrast checker → · Palette generator →

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