#2D6CBA#2D6CBA

#2D6CBA is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.138 H 255.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2D6CBA
RGBrgb(45, 108, 186)
HSLhsl(213, 61%, 45%)
HSVhsv(213, 76%, 73%)
CMYKcmyk(75.8%, 41.9%, 0%, 27.1%)
CIE-LABlab(45.40, 7.38, -46.89)
CIE-LCHlch(45.40, 47.46, 278.95°)
OKLaboklab(53.11% -0.0347 -0.1341)
OKLCHoklch(53.11% 0.138 255.5)
XYZxyz(15.3044, 14.8264, 48.5000)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CBA #BA7B2D
analogous
#2DB3BA #2D6CBA #342DBA
triadic
#2D6CBA #BA2D6C #6CBA2D
tetradic
#2D6CBA #BA2DB3 #BA7B2D #2DBA34
square
#2D6CBA #BA2DB3 #BA7B2D #2DBA34
split-complementary
#2D6CBA #BA342D #B3BA2D
monochromatic
#153357 #214F89 #2D6CBA #508BD5 #81ACE0

Accessibility & contrast

On white

5.30
#2D6CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2D6CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CBA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CBA#FFFFFF#000000##FFFFFF
##2D6CBA1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BD
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6cba;
/* rgb */ color: rgb(45, 108, 186);
/* oklch */ color: oklch(53.1% 0.138 255.5);
Tailwind
colors: {
  custom: {
    50: '#7a95cf',
    500: '#2d6cba',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cba;
$custom-light: #7a95cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cba",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 186
  },
  "hsl": {
    "h": 213.191,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.13848,
    "h": 255.5
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D6CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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