#2D6FA6#2D6FA6

#2D6FA6 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.109 H 247.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2D6FA6
RGBrgb(45, 111, 166)
HSLhsl(207, 57%, 41%)
HSVhsv(207, 73%, 65%)
CMYKcmyk(72.9%, 33.1%, 0%, 34.9%)
CIE-LABlab(45.19, -1.93, -35.54)
CIE-LCHlch(45.19, 35.59, 266.89°)
OKLaboklab(52.59% -0.0426 -0.1008)
OKLCHoklch(52.59% 0.109 247.1)
XYZxyz(13.6469, 14.6784, 38.1830)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6FA6 #A6642D
analogous
#2DA6A1 #2D6FA6 #2D32A6
triadic
#2D6FA6 #A62D6F #6FA62D
tetradic
#2D6FA6 #A12DA6 #A6642D #32A62D
square
#2D6FA6 #A12DA6 #A6642D #32A62D
split-complementary
#2D6FA6 #A62D32 #A6A12D
monochromatic
#132F46 #204F76 #2D6FA6 #448ECC #74ABD9

Accessibility & contrast

On white

5.34
#2D6FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2D6FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6FA6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6FA6#FFFFFF#000000##FFFFFF
##2D6FA61.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6fa6;
/* rgb */ color: rgb(45, 111, 166);
/* oklch */ color: oklch(52.6% 0.109 247.1);
Tailwind
colors: {
  custom: {
    50: '#7698c0',
    500: '#2d6fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2d6fa6;
$custom-light: #7698c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6fa6",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 207.273,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.10942,
    "h": 247.1
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#2D6FA6
secondary
#C1946E
accent
#8D47E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #2D6FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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