#235A8A#235A8A

#235A8A is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.5% C 0.097 H 248.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#235A8A
RGBrgb(35, 90, 138)
HSLhsl(208, 60%, 34%)
HSVhsv(208, 75%, 54%)
CMYKcmyk(74.6%, 34.8%, 0%, 45.9%)
CIE-LABlab(36.94, -0.83, -31.85)
CIE-LCHlch(36.94, 31.86, 268.51°)
OKLaboklab(45.53% -0.0362 -0.0904)
OKLCHoklch(45.53% 0.097 248.2)
XYZxyz(8.9350, 9.5036, 25.4033)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235A8A #8A5323
analogous
#238A87 #235A8A #23278A
triadic
#235A8A #8A235A #5A8A23
tetradic
#235A8A #87238A #8A5323 #278A23
square
#235A8A #87238A #8A5323 #278A23
split-complementary
#235A8A #8A2327 #8A8723
monochromatic
#0A1A28 #173A59 #235A8A #2F7ABB #5498D4

Accessibility & contrast

On white

7.24
#235A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#235A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235A8A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235A8A#FFFFFF#000000##FFFFFF
##235A8A1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#355389
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #235a8a;
/* rgb */ color: rgb(35, 90, 138);
/* oklch */ color: oklch(45.5% 0.097 248.2);
Tailwind
colors: {
  custom: {
    50: '#6c88ac',
    500: '#235a8a',
    950: '#000000',
  },
}
SCSS
$custom: #235a8a;
$custom-light: #6c88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#235a8a",
  "rgb": {
    "r": 35,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 207.961,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.0974,
    "h": 248.2
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#235A8A
secondary
#B78151
accent
#8F45E3
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #235A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#235A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva