#2D6FA1#2D6FA1

#2D6FA1 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.3% C 0.103 H 244.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2D6FA1
RGBrgb(45, 111, 161)
HSLhsl(206, 56%, 40%)
HSVhsv(206, 72%, 63%)
CMYKcmyk(72%, 31.1%, 0%, 36.9%)
CIE-LABlab(44.94, -3.76, -32.99)
CIE-LCHlch(44.94, 33.20, 263.50°)
OKLaboklab(52.31% -0.0442 -0.0933)
OKLCHoklch(52.31% 0.103 244.7)
XYZxyz(13.1972, 14.4985, 35.8143)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6FA1 #A15F2D
analogous
#2DA199 #2D6FA1 #2D35A1
triadic
#2D6FA1 #A12D6F #6FA12D
tetradic
#2D6FA1 #992DA1 #A15F2D #35A12D
square
#2D6FA1 #992DA1 #A15F2D #35A12D
split-complementary
#2D6FA1 #A12D35 #A1992D
monochromatic
#122D41 #204E71 #2D6FA1 #418FCA #71ABD7

Accessibility & contrast

On white

5.38
#2D6FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D6FA1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6FA1#FFFFFF#000000##FFFFFF
##2D6FA11.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5870A3
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#007B81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6fa1;
/* rgb */ color: rgb(45, 111, 161);
/* oklch */ color: oklch(52.3% 0.103 244.7);
Tailwind
colors: {
  custom: {
    50: '#7598bd',
    500: '#2d6fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2d6fa1;
$custom-light: #7598bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6fa1",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 161
  },
  "hsl": {
    "h": 205.862,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.10327,
    "h": 244.7
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#2D6FA1
secondary
#BF8F6B
accent
#8948E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2D6FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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