#2D62B4#2D62B4

#2D62B4 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.142 H 259.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2D62B4
RGBrgb(45, 98, 180)
HSLhsl(216, 60%, 44%)
HSVhsv(216, 75%, 71%)
CMYKcmyk(75%, 45.6%, 0%, 29.4%)
CIE-LABlab(42.13, 11.48, -48.61)
CIE-LCHlch(42.13, 49.95, 283.29°)
OKLaboklab(50.47% -0.0271 -0.1393)
OKLCHoklch(50.47% 0.142 259)
XYZxyz(13.6851, 12.5870, 44.8795)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62B4 #B47F2D
analogous
#2DA6B4 #2D62B4 #3B2DB4
triadic
#2D62B4 #B42D62 #62B42D
tetradic
#2D62B4 #B42DA6 #B47F2D #2DB43B
square
#2D62B4 #B42DA6 #B47F2D #2DB43B
split-complementary
#2D62B4 #B43B2D #A6B42D
monochromatic
#152D52 #214783 #2D62B4 #4C81D2 #7DA3DE

Accessibility & contrast

On white

5.97
#2D62B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2D62B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62B4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62B4#FFFFFF#000000##FFFFFF
##2D62B41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#1B5EB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d62b4;
/* rgb */ color: rgb(45, 98, 180);
/* oklch */ color: oklch(50.5% 0.142 259.0);
Tailwind
colors: {
  custom: {
    50: '#788ecb',
    500: '#2d62b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d62b4;
$custom-light: #788ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62b4",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 216.444,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50466,
    "c": 0.14193,
    "h": 259
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#2D62B4
secondary
#C7A776
accent
#A545E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D62B4

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

Preview Lab → · Contrast checker → · Palette generator →

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