#2D6FA5#2D6FA5

#2D6FA5 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.5% C 0.108 H 246.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2D6FA5
RGBrgb(45, 111, 165)
HSLhsl(207, 57%, 41%)
HSVhsv(207, 73%, 65%)
CMYKcmyk(72.7%, 32.7%, 0%, 35.3%)
CIE-LABlab(45.14, -2.30, -35.03)
CIE-LCHlch(45.14, 35.10, 266.24°)
OKLaboklab(52.53% -0.0429 -0.0993)
OKLCHoklch(52.53% 0.108 246.6)
XYZxyz(13.5556, 14.6419, 37.7018)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6FA5 #A5632D
analogous
#2DA59F #2D6FA5 #2D33A5
triadic
#2D6FA5 #A52D6F #6FA52D
tetradic
#2D6FA5 #9F2DA5 #A5632D #33A52D
square
#2D6FA5 #9F2DA5 #A5632D #33A52D
split-complementary
#2D6FA5 #A52D33 #A59F2D
monochromatic
#132E45 #204F75 #2D6FA5 #438ECC #73ABD9

Accessibility & contrast

On white

5.35
#2D6FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2D6FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6FA5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6FA5#FFFFFF#000000##FFFFFF
##2D6FA51.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A7
Deuteranopia (green-blind)
#4666A4
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d6fa5;
/* rgb */ color: rgb(45, 111, 165);
/* oklch */ color: oklch(52.5% 0.108 246.6);
Tailwind
colors: {
  custom: {
    50: '#7598c0',
    500: '#2d6fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2d6fa5;
$custom-light: #7598c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6fa5",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 207,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.10817,
    "h": 246.6
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#2D6FA5
secondary
#C1936D
accent
#8C47E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2D6FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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