#2D6BAF#2D6BAF

#2D6BAF is a mid, vivid cyan. Relative luminance 0.142; OKLCH L 52.2% C 0.125 H 253.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2D6BAF
RGBrgb(45, 107, 175)
HSLhsl(211, 59%, 43%)
HSVhsv(211, 74%, 69%)
CMYKcmyk(74.3%, 38.9%, 0%, 31.4%)
CIE-LABlab(44.47, 3.88, -41.95)
CIE-LCHlch(44.47, 42.13, 275.28°)
OKLaboklab(52.18% -0.0363 -0.1196)
OKLCHoklch(52.18% 0.125 253.1)
XYZxyz(14.0749, 14.1668, 42.5418)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6BAF #AF712D
analogous
#2DACAF #2D6BAF #302DAF
triadic
#2D6BAF #AF2D6B #6BAF2D
tetradic
#2D6BAF #AF2DAC #AF712D #2DAF30
square
#2D6BAF #AF2DAC #AF712D #2DAF30
split-complementary
#2D6BAF #AF302D #ACAF2D
monochromatic
#142F4E #204D7E #2D6BAF #4989D0 #7AA9DD

Accessibility & contrast

On white

5.48
#2D6BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2D6BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6BAF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6BAF#FFFFFF#000000##FFFFFF
##2D6BAF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#3764AE
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d6baf;
/* rgb */ color: rgb(45, 107, 175);
/* oklch */ color: oklch(52.2% 0.125 253.1);
Tailwind
colors: {
  custom: {
    50: '#7794c7',
    500: '#2d6baf',
    950: '#000000',
  },
}
SCSS
$custom: #2d6baf;
$custom-light: #7794c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6baf",
  "rgb": {
    "r": 45,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 211.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.12499,
    "h": 253.1
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#2D6BAF
secondary
#C59E73
accent
#9846E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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