#2D6CB9#2D6CB9

#2D6CB9 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.137 H 255.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2D6CB9
RGBrgb(45, 108, 185)
HSLhsl(213, 61%, 45%)
HSVhsv(213, 76%, 73%)
CMYKcmyk(75.7%, 41.6%, 0%, 27.5%)
CIE-LABlab(45.34, 7.00, -46.40)
CIE-LCHlch(45.34, 46.93, 278.58°)
OKLaboklab(53.04% -0.0349 -0.1326)
OKLCHoklch(53.04% 0.137 255.3)
XYZxyz(15.1985, 14.7841, 47.9421)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CB9 #B97A2D
analogous
#2DB2B9 #2D6CB9 #342DB9
triadic
#2D6CB9 #B92D6C #6CB92D
tetradic
#2D6CB9 #B92DB2 #B97A2D #2DB934
square
#2D6CB9 #B92DB2 #B97A2D #2DB934
split-complementary
#2D6CB9 #B9342D #B2B92D
monochromatic
#153357 #214F88 #2D6CB9 #4F8BD4 #80ABE0

Accessibility & contrast

On white

5.31
#2D6CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2D6CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CB9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CB9#FFFFFF#000000##FFFFFF
##2D6CB91.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BC
Deuteranopia (green-blind)
#2F65B7
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6cb9;
/* rgb */ color: rgb(45, 108, 185);
/* oklch */ color: oklch(53.0% 0.137 255.3);
Tailwind
colors: {
  custom: {
    50: '#7995ce',
    500: '#2d6cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cb9;
$custom-light: #7995ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cb9",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 185
  },
  "hsl": {
    "h": 213,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.13715,
    "h": 255.3
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#2D6CB9
secondary
#C9A579
accent
#9C44E4
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2D6CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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