#23538B#23538B

#23538B is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.106 H 254.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#23538B
RGBrgb(35, 83, 139)
HSLhsl(212, 60%, 34%)
HSVhsv(212, 75%, 55%)
CMYKcmyk(74.8%, 40.3%, 0%, 45.5%)
CIE-LABlab(34.82, 4.07, -35.82)
CIE-LCHlch(34.82, 36.05, 276.49°)
OKLaboklab(43.89% -0.0289 -0.1022)
OKLCHoklch(43.89% 0.106 254.2)
XYZxyz(8.4449, 8.4070, 25.5987)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23538B #8B5B23
analogous
#23878B #23538B #27238B
triadic
#23538B #8B2353 #538B23
tetradic
#23538B #8B2387 #8B5B23 #238B27
square
#23538B #8B2387 #8B5B23 #238B27
split-complementary
#23538B #8B2723 #878B23
monochromatic
#0A1929 #17365A #23538B #2F70BC #548FD4

Accessibility & contrast

On white

7.83
#23538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#23538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23538B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23538B#FFFFFF#000000##FFFFFF
##23538B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#294D8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #23538b;
/* rgb */ color: rgb(35, 83, 139);
/* oklch */ color: oklch(43.9% 0.106 254.2);
Tailwind
colors: {
  custom: {
    50: '#6c82ad',
    500: '#23538b',
    950: '#000000',
  },
}
SCSS
$custom: #23538b;
$custom-light: #6c82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23538b",
  "rgb": {
    "r": 35,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 212.308,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.10617,
    "h": 254.2
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#23538B
secondary
#B88952
accent
#9A45E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #23538B

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

Preview Lab → · Contrast checker → · Palette generator →

#23538B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva