#2D62AE#2D62AE

#2D62AE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.1% C 0.134 H 257.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2D62AE
RGBrgb(45, 98, 174)
HSLhsl(215, 59%, 43%)
HSVhsv(215, 74%, 68%)
CMYKcmyk(74.1%, 43.7%, 0%, 31.8%)
CIE-LABlab(41.76, 9.21, -45.68)
CIE-LCHlch(41.76, 46.60, 281.40°)
OKLaboklab(50.06% -0.0282 -0.1307)
OKLCHoklch(50.06% 0.134 257.8)
XYZxyz(13.0871, 12.3478, 41.7298)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62AE #AE792D
analogous
#2DA2AE #2D62AE #392DAE
triadic
#2D62AE #AE2D62 #62AE2D
tetradic
#2D62AE #AE2DA2 #AE792D #2DAE39
square
#2D62AE #AE2DA2 #AE792D #2DAE39
split-complementary
#2D62AE #AE392D #A2AE2D
monochromatic
#142B4D #20477D #2D62AE #4880D0 #79A2DC

Accessibility & contrast

On white

6.05
#2D62AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2D62AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62AE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62AE#FFFFFF#000000##FFFFFF
##2D62AE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B1
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d62ae;
/* rgb */ color: rgb(45, 98, 174);
/* oklch */ color: oklch(50.1% 0.134 257.8);
Tailwind
colors: {
  custom: {
    50: '#778ec7',
    500: '#2d62ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d62ae;
$custom-light: #778ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62ae",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 215.349,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5006,
    "c": 0.13372,
    "h": 257.8
  },
  "luminance": 0.12349
}

Semantic roles & 50–950 ramp

primary
#2D62AE
secondary
#C4A372
accent
#A246E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D62AE

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

Preview Lab → · Contrast checker → · Palette generator →

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