#2D6CAC#2D6CAC

#2D6CAC is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.2% C 0.120 H 251.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2D6CAC
RGBrgb(45, 108, 172)
HSLhsl(210, 59%, 43%)
HSVhsv(210, 74%, 67%)
CMYKcmyk(73.8%, 37.2%, 0%, 32.5%)
CIE-LABlab(44.60, 2.13, -39.98)
CIE-LCHlch(44.60, 40.04, 273.05°)
OKLaboklab(52.23% -0.038 -0.1138)
OKLCHoklch(52.23% 0.12 251.5)
XYZxyz(13.8884, 14.2600, 41.0422)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CAC #AC6D2D
analogous
#2DACAC #2D6CAC #2D2DAC
triadic
#2D6CAC #AC2D6C #6CAC2D
tetradic
#2D6CAC #AC2DAC #AC6D2D #2DAC2D
square
#2D6CAC #AC2DAC #AC6D2D #2DAC2D
split-complementary
#2D6CAC #AC2D2D #ACAC2D
monochromatic
#142F4B #204E7B #2D6CAC #478BCF #78A9DC

Accessibility & contrast

On white

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

On black

3.85
#2D6CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D6CAC#FFFFFF#000000##FFFFFF
##2D6CAC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AF
Deuteranopia (green-blind)
#3C64AB
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d6cac;
/* rgb */ color: rgb(45, 108, 172);
/* oklch */ color: oklch(52.2% 0.120 251.5);
Tailwind
colors: {
  custom: {
    50: '#7795c5',
    500: '#2d6cac',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cac;
$custom-light: #7795c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cac",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 172
  },
  "hsl": {
    "h": 210.236,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.12,
    "h": 251.5
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#2D6CAC
secondary
#C49B71
accent
#9546E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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