#2D62AB#2D62AB

#2D62AB is a mid, vivid cyan. Relative luminance 0.122; OKLCH L 49.9% C 0.130 H 257.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2D62AB
RGBrgb(45, 98, 171)
HSLhsl(215, 58%, 42%)
HSVhsv(215, 74%, 67%)
CMYKcmyk(73.7%, 42.7%, 0%, 32.9%)
CIE-LABlab(41.58, 8.07, -44.21)
CIE-LCHlch(41.58, 44.94, 280.35°)
OKLaboklab(49.86% -0.0288 -0.1264)
OKLCHoklch(49.86% 0.13 257.1)
XYZxyz(12.7979, 12.2321, 40.2067)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62AB #AB762D
analogous
#2DA1AB #2D62AB #372DAB
triadic
#2D62AB #AB2D62 #62AB2D
tetradic
#2D62AB #AB2DA1 #AB762D #2DAB37
square
#2D62AB #AB2DA1 #AB762D #2DAB37
split-complementary
#2D62AB #AB372D #A1AB2D
monochromatic
#142A4A #20467B #2D62AB #4780CE #77A1DB

Accessibility & contrast

On white

6.09
#2D62AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2D62AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62AB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62AB#FFFFFF#000000##FFFFFF
##2D62AB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AE
Deuteranopia (green-blind)
#295DAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d62ab;
/* rgb */ color: rgb(45, 98, 171);
/* oklch */ color: oklch(49.9% 0.130 257.1);
Tailwind
colors: {
  custom: {
    50: '#778ec4',
    500: '#2d62ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d62ab;
$custom-light: #778ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62ab",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 214.762,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49861,
    "c": 0.12962,
    "h": 257.1
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#2D62AB
secondary
#C3A071
accent
#A046E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D62AB

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

Preview Lab → · Contrast checker → · Palette generator →

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