#2D6CAB#2D6CAB

#2D6CAB is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 52.2% C 0.119 H 251.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2D6CAB
RGBrgb(45, 108, 171)
HSLhsl(210, 58%, 42%)
HSVhsv(210, 74%, 67%)
CMYKcmyk(73.7%, 36.8%, 0%, 32.9%)
CIE-LABlab(44.55, 1.76, -39.48)
CIE-LCHlch(44.55, 39.52, 272.55°)
OKLaboklab(52.17% -0.0383 -0.1123)
OKLCHoklch(52.17% 0.119 251.2)
XYZxyz(13.7927, 14.2217, 40.5383)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CAB #AB6C2D
analogous
#2DABAB #2D6CAB #2D2DAB
triadic
#2D6CAB #AB2D6C #6CAB2D
tetradic
#2D6CAB #AB2DAB #AB6C2D #2DAB2D
square
#2D6CAB #AB2DAB #AB6C2D #2DAB2D
split-complementary
#2D6CAB #AB2D2D #ABAB2D
monochromatic
#142F4A #204D7B #2D6CAB #478BCE #77A9DB

Accessibility & contrast

On white

5.46
#2D6CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2D6CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CAB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CAB#FFFFFF#000000##FFFFFF
##2D6CAB1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AE
Deuteranopia (green-blind)
#3C64AA
Tritanopia (blue-blind)
#007B83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d6cab;
/* rgb */ color: rgb(45, 108, 171);
/* oklch */ color: oklch(52.2% 0.119 251.2);
Tailwind
colors: {
  custom: {
    50: '#7795c4',
    500: '#2d6cab',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cab;
$custom-light: #7795c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cab",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 171
  },
  "hsl": {
    "h": 210,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.1187,
    "h": 251.2
  },
  "luminance": 0.14223
}

Semantic roles & 50–950 ramp

primary
#2D6CAB
secondary
#C39A71
accent
#9446E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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