#2D62B6#2D62B6

#2D62B6 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.145 H 259.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2D62B6
RGBrgb(45, 98, 182)
HSLhsl(217, 60%, 45%)
HSVhsv(217, 75%, 71%)
CMYKcmyk(75.3%, 46.2%, 0%, 28.6%)
CIE-LABlab(42.26, 12.24, -49.58)
CIE-LCHlch(42.26, 51.07, 283.87°)
OKLaboklab(50.6% -0.0267 -0.1422)
OKLCHoklch(50.6% 0.145 259.4)
XYZxyz(13.8903, 12.6691, 45.9602)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62B6 #B6812D
analogous
#2DA7B6 #2D62B6 #3C2DB6
triadic
#2D62B6 #B62D62 #62B62D
tetradic
#2D62B6 #B62DA7 #B6812D #2DB63C
square
#2D62B6 #B62DA7 #B6812D #2DB63C
split-complementary
#2D62B6 #B63C2D #A7B62D
monochromatic
#152D54 #214885 #2D62B6 #4D81D3 #7EA4DF

Accessibility & contrast

On white

5.94
#2D62B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2D62B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62B6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62B6#FFFFFF#000000##FFFFFF
##2D62B61.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB9
Deuteranopia (green-blind)
#165EB4
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d62b6;
/* rgb */ color: rgb(45, 98, 182);
/* oklch */ color: oklch(50.6% 0.145 259.4);
Tailwind
colors: {
  custom: {
    50: '#798ecc',
    500: '#2d62b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d62b6;
$custom-light: #798ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62b6",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 182
  },
  "hsl": {
    "h": 216.788,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.14466,
    "h": 259.4
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#2D62B6
secondary
#C8A977
accent
#A644E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D62B6

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

Preview Lab → · Contrast checker → · Palette generator →

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