#2371AF#2371AF

#2371AF is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.122 H 247.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2371AF
RGBrgb(35, 113, 175)
HSLhsl(207, 67%, 41%)
HSVhsv(207, 80%, 69%)
CMYKcmyk(80%, 35.4%, 0%, 31.4%)
CIE-LABlab(45.99, -1.06, -39.56)
CIE-LCHlch(45.99, 39.57, 268.46°)
OKLaboklab(53.3% -0.0474 -0.1126)
OKLCHoklch(53.3% 0.122 247.2)
XYZxyz(14.3331, 15.2610, 42.7394)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2371AF #AF6123
analogous
#23AFA7 #2371AF #232BAF
triadic
#2371AF #AF2371 #71AF23
tetradic
#2371AF #A723AF #AF6123 #2BAF23
square
#2371AF #A723AF #AF6123 #2BAF23
split-complementary
#2371AF #AF232B #AFA723
monochromatic
#0F2F49 #19507C #2371AF #3891D7 #6BADE1

Accessibility & contrast

On white

5.18
#2371AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2371AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2371AF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2371AF#FFFFFF#000000##FFFFFF
##2371AF1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#4067AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2371af;
/* rgb */ color: rgb(35, 113, 175);
/* oklch */ color: oklch(53.3% 0.122 247.2);
Tailwind
colors: {
  custom: {
    50: '#7499c7',
    500: '#2371af',
    950: '#000000',
  },
}
SCSS
$custom: #2371af;
$custom-light: #7499c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2371af",
  "rgb": {
    "r": 35,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 206.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.12217,
    "h": 247.2
  },
  "luminance": 0.15263
}

Semantic roles & 50–950 ramp

primary
#2371AF
secondary
#C79166
accent
#8A3EEA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2371AF

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

Preview Lab → · Contrast checker → · Palette generator →

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