#2D62B8#2D62B8

#2D62B8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.147 H 259.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2D62B8
RGBrgb(45, 98, 184)
HSLhsl(217, 61%, 45%)
HSVhsv(217, 76%, 72%)
CMYKcmyk(75.5%, 46.7%, 0%, 27.8%)
CIE-LABlab(42.39, 13.00, -50.54)
CIE-LCHlch(42.39, 52.19, 284.43°)
OKLaboklab(50.74% -0.0264 -0.145)
OKLCHoklch(50.74% 0.147 259.7)
XYZxyz(14.0985, 12.7524, 47.0565)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62B8 #B8832D
analogous
#2DA8B8 #2D62B8 #3D2DB8
triadic
#2D62B8 #B82D62 #62B82D
tetradic
#2D62B8 #B82DA8 #B8832D #2DB83D
square
#2D62B8 #B82DA8 #B8832D #2DB83D
split-complementary
#2D62B8 #B83D2D #A8B82D
monochromatic
#152E56 #214887 #2D62B8 #4E81D4 #80A4E0

Accessibility & contrast

On white

5.91
#2D62B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2D62B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62B8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62B8#FFFFFF#000000##FFFFFF
##2D62B81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#115EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d62b8;
/* rgb */ color: rgb(45, 98, 184);
/* oklch */ color: oklch(50.7% 0.147 259.7);
Tailwind
colors: {
  custom: {
    50: '#798ece',
    500: '#2d62b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d62b8;
$custom-light: #798ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62b8",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 217.122,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.14738,
    "h": 259.7
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#2D62B8
secondary
#C9AA78
accent
#A744E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2D62B8

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

Preview Lab → · Contrast checker → · Palette generator →

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