#235998#235998

#235998 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.2% C 0.117 H 254.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#235998
RGBrgb(35, 89, 152)
HSLhsl(212, 63%, 37%)
HSVhsv(212, 77%, 60%)
CMYKcmyk(77%, 41.4%, 0%, 40.4%)
CIE-LABlab(37.42, 5.23, -39.55)
CIE-LCHlch(37.42, 39.90, 277.53°)
OKLaboklab(46.17% -0.0315 -0.113)
OKLCHoklch(46.17% 0.117 254.4)
XYZxyz(9.9309, 9.7679, 31.0617)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235998 #986223
analogous
#239498 #235998 #282398
triadic
#235998 #982359 #599823
tetradic
#235998 #982394 #986223 #239828
square
#235998 #982394 #986223 #239828
split-complementary
#235998 #982823 #949823
monochromatic
#0C1F35 #183C66 #235998 #2E76CA #5C96D9

Accessibility & contrast

On white

7.11
#235998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #235998
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235998#FFFFFF#000000##FFFFFF
##2359981.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#275397
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #235998;
/* rgb */ color: rgb(35, 89, 152);
/* oklch */ color: oklch(46.2% 0.117 254.4);
Tailwind
colors: {
  custom: {
    50: '#6f87b7',
    500: '#235998',
    950: '#000000',
  },
}
SCSS
$custom: #235998;
$custom-light: #6f87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#235998",
  "rgb": {
    "r": 35,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 212.308,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.1173,
    "h": 254.4
  },
  "luminance": 0.09769
}

Semantic roles & 50–950 ramp

primary
#235998
secondary
#BE8F59
accent
#9A42E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #235998

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

Preview Lab → · Contrast checker → · Palette generator →

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