#235989#235989

#235989 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.097 H 248.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#235989
RGBrgb(35, 89, 137)
HSLhsl(208, 59%, 34%)
HSVhsv(208, 74%, 54%)
CMYKcmyk(74.5%, 35%, 0%, 46.3%)
CIE-LABlab(36.57, -0.57, -31.82)
CIE-LCHlch(36.57, 31.83, 268.97°)
OKLaboklab(45.22% -0.0354 -0.0904)
OKLCHoklch(45.22% 0.097 248.6)
XYZxyz(8.7792, 9.3072, 24.9959)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235989 #895323
analogous
#238986 #235989 #232689
triadic
#235989 #892359 #598923
tetradic
#235989 #862389 #895323 #268923
square
#235989 #862389 #895323 #268923
split-complementary
#235989 #892326 #898623
monochromatic
#0A1A28 #173958 #235989 #2F79BA #5397D3

Accessibility & contrast

On white

7.34
#235989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#235989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235989
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235989#FFFFFF#000000##FFFFFF
##2359891.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435B8B
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #235989;
/* rgb */ color: rgb(35, 89, 137);
/* oklch */ color: oklch(45.2% 0.097 248.6);
Tailwind
colors: {
  custom: {
    50: '#6c87ab',
    500: '#235989',
    950: '#000000',
  },
}
SCSS
$custom: #235989;
$custom-light: #6c87ab;
$custom-dark: #000000;
JSON
{
  "hex": "#235989",
  "rgb": {
    "r": 35,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 208.235,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.09707,
    "h": 248.6
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#235989
secondary
#B78151
accent
#8F45E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #235989

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

Preview Lab → · Contrast checker → · Palette generator →

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