#2D6CAF#2D6CAF

#2D6CAF is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.4% C 0.124 H 252.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2D6CAF
RGBrgb(45, 108, 175)
HSLhsl(211, 59%, 43%)
HSVhsv(211, 74%, 69%)
CMYKcmyk(74.3%, 38.3%, 0%, 31.4%)
CIE-LABlab(44.77, 3.25, -41.48)
CIE-LCHlch(44.77, 41.61, 274.48°)
OKLaboklab(52.42% -0.0372 -0.1182)
OKLCHoklch(52.42% 0.124 252.5)
XYZxyz(14.1797, 14.3766, 42.5768)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CAF #AF702D
analogous
#2DADAF #2D6CAF #2F2DAF
triadic
#2D6CAF #AF2D6C #6CAF2D
tetradic
#2D6CAF #AF2DAD #AF702D #2DAF2F
square
#2D6CAF #AF2DAD #AF702D #2DAF2F
split-complementary
#2D6CAF #AF2F2D #ADAF2D
monochromatic
#14304E #204E7E #2D6CAF #498BD0 #7AAADD

Accessibility & contrast

On white

5.42
#2D6CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#2D6CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CAF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CAF#FFFFFF#000000##FFFFFF
##2D6CAF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B2
Deuteranopia (green-blind)
#3964AE
Tritanopia (blue-blind)
#007C85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d6caf;
/* rgb */ color: rgb(45, 108, 175);
/* oklch */ color: oklch(52.4% 0.124 252.5);
Tailwind
colors: {
  custom: {
    50: '#7795c7',
    500: '#2d6caf',
    950: '#000000',
  },
}
SCSS
$custom: #2d6caf;
$custom-light: #7795c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6caf",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 175
  },
  "hsl": {
    "h": 210.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.12393,
    "h": 252.5
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#2D6CAF
secondary
#C59D73
accent
#9646E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2D6CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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