#2D6CB2#2D6CB2

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

Color values

HEX#2D6CB2
RGBrgb(45, 108, 178)
HSLhsl(212, 60%, 44%)
HSVhsv(212, 75%, 70%)
CMYKcmyk(74.7%, 39.3%, 0%, 30.2%)
CIE-LABlab(44.94, 4.37, -42.97)
CIE-LCHlch(44.94, 43.19, 275.81°)
OKLaboklab(52.6% -0.0365 -0.1226)
OKLCHoklch(52.6% 0.128 253.4)
XYZxyz(14.4776, 14.4957, 44.1458)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CB2 #B2732D
analogous
#2DAEB2 #2D6CB2 #302DB2
triadic
#2D6CB2 #B22D6C #6CB22D
tetradic
#2D6CB2 #B22DAE #B2732D #2DB230
square
#2D6CB2 #B22DAE #B2732D #2DB230
split-complementary
#2D6CB2 #B2302D #AEB22D
monochromatic
#143150 #214E81 #2D6CB2 #4B8BD1 #7CAADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6CB2#FFFFFF#000000##FFFFFF
##2D6CB21.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)
#4B71B5
Deuteranopia (green-blind)
#3665B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6cb2;
/* rgb */ color: rgb(45, 108, 178);
/* oklch */ color: oklch(52.6% 0.128 253.4);
Tailwind
colors: {
  custom: {
    50: '#7895c9',
    500: '#2d6cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cb2;
$custom-light: #7895c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cb2",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 211.579,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.12788,
    "h": 253.4
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#2D6CB2
secondary
#C6A075
accent
#9845E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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