#2D6CB3#2D6CB3

#2D6CB3 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.129 H 253.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2D6CB3
RGBrgb(45, 108, 179)
HSLhsl(212, 60%, 44%)
HSVhsv(212, 75%, 70%)
CMYKcmyk(74.9%, 39.7%, 0%, 29.8%)
CIE-LABlab(44.99, 4.75, -43.46)
CIE-LCHlch(44.99, 43.72, 276.24°)
OKLaboklab(52.66% -0.0363 -0.124)
OKLCHoklch(52.66% 0.129 253.7)
XYZxyz(14.5784, 14.5360, 44.6765)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CB3 #B3742D
analogous
#2DAFB3 #2D6CB3 #312DB3
triadic
#2D6CB3 #B32D6C #6CB32D
tetradic
#2D6CB3 #B32DAF #B3742D #2DB331
square
#2D6CB3 #B32DAF #B3742D #2DB331
split-complementary
#2D6CB3 #B3312D #AFB32D
monochromatic
#143151 #214E82 #2D6CB3 #4B8BD2 #7CAADE

Accessibility & contrast

On white

5.37
#2D6CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2D6CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CB3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CB3#FFFFFF#000000##FFFFFF
##2D6CB31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6cb3;
/* rgb */ color: rgb(45, 108, 179);
/* oklch */ color: oklch(52.7% 0.129 253.7);
Tailwind
colors: {
  custom: {
    50: '#7895ca',
    500: '#2d6cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cb3;
$custom-light: #7895ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cb3",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 211.791,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.1292,
    "h": 253.7
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#2D6CB3
secondary
#C7A075
accent
#9945E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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