#2D6ABC#2D6ABC

#2D6ABC is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.8% C 0.143 H 256.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2D6ABC
RGBrgb(45, 106, 188)
HSLhsl(214, 61%, 46%)
HSVhsv(214, 76%, 74%)
CMYKcmyk(76.1%, 43.6%, 0%, 26.3%)
CIE-LABlab(44.93, 9.40, -48.78)
CIE-LCHlch(44.93, 49.68, 280.91°)
OKLaboklab(52.79% -0.0325 -0.1397)
OKLCHoklch(52.79% 0.143 256.9)
XYZxyz(15.3100, 14.4950, 49.5581)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6ABC #BC7F2D
analogous
#2DB1BC #2D6ABC #382DBC
triadic
#2D6ABC #BC2D6A #6ABC2D
tetradic
#2D6ABC #BC2DB1 #BC7F2D #2DBC38
square
#2D6ABC #BC2DB1 #BC7F2D #2DBC38
split-complementary
#2D6ABC #BC382D #B1BC2D
monochromatic
#153259 #214E8B #2D6ABC #5189D5 #82ABE1

Accessibility & contrast

On white

5.39
#2D6ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2D6ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6ABC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6ABC#FFFFFF#000000##FFFFFF
##2D6ABC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BF
Deuteranopia (green-blind)
#2664BA
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6abc;
/* rgb */ color: rgb(45, 106, 188);
/* oklch */ color: oklch(52.8% 0.143 256.9);
Tailwind
colors: {
  custom: {
    50: '#7a94d1',
    500: '#2d6abc',
    950: '#000000',
  },
}
SCSS
$custom: #2d6abc;
$custom-light: #7a94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6abc",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 214.406,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.14341,
    "h": 256.9
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#2D6ABC
secondary
#CAA87B
accent
#A043E4
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2D6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

#2D6ABC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva