#2172AF#2172AF

#2172AF is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.5% C 0.122 H 246.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2172AF
RGBrgb(33, 114, 175)
HSLhsl(206, 68%, 41%)
HSVhsv(206, 81%, 69%)
CMYKcmyk(81.1%, 34.9%, 0%, 31.4%)
CIE-LABlab(46.25, -1.88, -39.16)
CIE-LCHlch(46.25, 39.20, 267.25°)
OKLaboklab(53.48% -0.0492 -0.1114)
OKLCHoklch(53.48% 0.122 246.2)
XYZxyz(14.3794, 15.4513, 42.7737)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2172AF #AF5E21
analogous
#21AFA5 #2172AF #212BAF
triadic
#2172AF #AF2172 #72AF21
tetradic
#2172AF #A521AF #AF5E21 #2BAF21
square
#2172AF #A521AF #AF5E21 #2BAF21
split-complementary
#2172AF #AF212B #AFA521
monochromatic
#0E2F48 #17507C #2172AF #3492D9 #68AEE3

Accessibility & contrast

On white

5.13
#2172AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2172AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2172AF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2172AF#FFFFFF#000000##FFFFFF
##2172AF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5575B2
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#008188
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2172af;
/* rgb */ color: rgb(33, 114, 175);
/* oklch */ color: oklch(53.5% 0.122 246.2);
Tailwind
colors: {
  custom: {
    50: '#749ac7',
    500: '#2172af',
    950: '#000000',
  },
}
SCSS
$custom: #2172af;
$custom-light: #749ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2172af",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 175
  },
  "hsl": {
    "h": 205.775,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.12182,
    "h": 246.2
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#2172AF
secondary
#C88F64
accent
#883DEB
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2172AF

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

Preview Lab → · Contrast checker → · Palette generator →

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