#2371A8#2371A8

#2371A8 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.114 H 244.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2371A8
RGBrgb(35, 113, 168)
HSLhsl(205, 66%, 40%)
HSVhsv(205, 79%, 66%)
CMYKcmyk(79.2%, 32.7%, 0%, 34.1%)
CIE-LABlab(45.62, -3.70, -36.04)
CIE-LCHlch(45.62, 36.23, 264.14°)
OKLaboklab(52.89% -0.0495 -0.1023)
OKLCHoklch(52.89% 0.114 244.2)
XYZxyz(13.6634, 14.9931, 39.2120)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2371A8 #A85A23
analogous
#23A89D #2371A8 #232FA8
triadic
#2371A8 #A82371 #71A823
tetradic
#2371A8 #9D23A8 #A85A23 #2FA823
square
#2371A8 #9D23A8 #A85A23 #2FA823
split-complementary
#2371A8 #A8232F #A89D23
monochromatic
#0E2D43 #184F75 #2371A8 #3492D5 #66ADDF

Accessibility & contrast

On white

5.25
#2371A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2371A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2371A8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2371A8#FFFFFF#000000##FFFFFF
##2371A81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AA
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2371a8;
/* rgb */ color: rgb(35, 113, 168);
/* oklch */ color: oklch(52.9% 0.114 244.2);
Tailwind
colors: {
  custom: {
    50: '#7399c2',
    500: '#2371a8',
    950: '#000000',
  },
}
SCSS
$custom: #2371a8;
$custom-light: #7399c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2371a8",
  "rgb": {
    "r": 35,
    "g": 113,
    "b": 168
  },
  "hsl": {
    "h": 204.812,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.11366,
    "h": 244.2
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#2371A8
secondary
#C58B62
accent
#853FE8
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2371A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2371A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva