#2D6EA1#2D6EA1

#2D6EA1 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.1% C 0.104 H 245.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2D6EA1
RGBrgb(45, 110, 161)
HSLhsl(206, 56%, 40%)
HSVhsv(206, 72%, 63%)
CMYKcmyk(72%, 31.7%, 0%, 36.9%)
CIE-LABlab(44.63, -3.15, -33.47)
CIE-LCHlch(44.63, 33.62, 264.62°)
OKLaboklab(52.07% -0.0431 -0.0948)
OKLCHoklch(52.07% 0.104 245.5)
XYZxyz(13.0887, 14.2815, 35.7781)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EA1 #A1602D
analogous
#2DA19A #2D6EA1 #2D34A1
triadic
#2D6EA1 #A12D6E #6EA12D
tetradic
#2D6EA1 #9A2DA1 #A1602D #34A12D
square
#2D6EA1 #9A2DA1 #A1602D #34A12D
split-complementary
#2D6EA1 #A12D34 #A19A2D
monochromatic
#122D41 #204D71 #2D6EA1 #418ECA #71AAD7

Accessibility & contrast

On white

5.45
#2D6EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2D6EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6EA1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EA1#FFFFFF#000000##FFFFFF
##2D6EA11.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A3
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#007A80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6ea1;
/* rgb */ color: rgb(45, 110, 161);
/* oklch */ color: oklch(52.1% 0.104 245.5);
Tailwind
colors: {
  custom: {
    50: '#7597bd',
    500: '#2d6ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2d6ea1;
$custom-light: #7597bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6ea1",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 161
  },
  "hsl": {
    "h": 206.379,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5207,
    "c": 0.10412,
    "h": 245.5
  },
  "luminance": 0.14283
}

Semantic roles & 50–950 ramp

primary
#2D6EA1
secondary
#BF906B
accent
#8B48E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2D6EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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