#235498#235498

#235498 is a dark, vivid cyan. Relative luminance 0.090; OKLCH L 45.0% C 0.123 H 257.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#235498
RGBrgb(35, 84, 152)
HSLhsl(215, 63%, 37%)
HSVhsv(215, 77%, 60%)
CMYKcmyk(77%, 44.7%, 0%, 40.4%)
CIE-LABlab(35.91, 8.51, -41.96)
CIE-LCHlch(35.91, 42.82, 281.46°)
OKLaboklab(45% -0.0269 -0.1202)
OKLCHoklch(45% 0.123 257.4)
XYZxyz(9.5289, 8.9639, 30.9277)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235498 #986723
analogous
#238F98 #235498 #2D2398
triadic
#235498 #982354 #549823
tetradic
#235498 #98238F #986723 #23982D
square
#235498 #98238F #986723 #23982D
split-complementary
#235498 #982D23 #8F9823
monochromatic
#0C1D35 #183966 #235498 #2E6FCA #5C91D9

Accessibility & contrast

On white

7.52
#235498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#235498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235498
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235498#FFFFFF#000000##FFFFFF
##2354981.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9B
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#00646E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #235498;
/* rgb */ color: rgb(35, 84, 152);
/* oklch */ color: oklch(45.0% 0.123 257.4);
Tailwind
colors: {
  custom: {
    50: '#6f83b7',
    500: '#235498',
    950: '#000000',
  },
}
SCSS
$custom: #235498;
$custom-light: #6f83b7;
$custom-dark: #000000;
JSON
{
  "hex": "#235498",
  "rgb": {
    "r": 35,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 214.872,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.12314,
    "h": 257.4
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#235498
secondary
#BE9459
accent
#A142E6
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #235498

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

Preview Lab → · Contrast checker → · Palette generator →

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