#2D62B5#2D62B5

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

Color values

HEX#2D62B5
RGBrgb(45, 98, 181)
HSLhsl(217, 60%, 44%)
HSVhsv(217, 75%, 71%)
CMYKcmyk(75.1%, 45.9%, 0%, 29%)
CIE-LABlab(42.20, 11.86, -49.10)
CIE-LCHlch(42.20, 50.51, 283.59°)
OKLaboklab(50.53% -0.0269 -0.1407)
OKLCHoklch(50.53% 0.143 259.2)
XYZxyz(13.7873, 12.6279, 45.4179)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62B5 #B5802D
analogous
#2DA6B5 #2D62B5 #3C2DB5
triadic
#2D62B5 #B52D62 #62B52D
tetradic
#2D62B5 #B52DA6 #B5802D #2DB53C
square
#2D62B5 #B52DA6 #B5802D #2DB53C
split-complementary
#2D62B5 #B53C2D #A6B52D
monochromatic
#152D53 #214784 #2D62B5 #4D81D3 #7EA3DF

Accessibility & contrast

On white

5.96
#2D62B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D62B5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62B5#FFFFFF#000000##FFFFFF
##2D62B51.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#185EB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d62b5;
/* rgb */ color: rgb(45, 98, 181);
/* oklch */ color: oklch(50.5% 0.143 259.2);
Tailwind
colors: {
  custom: {
    50: '#798ecc',
    500: '#2d62b5',
    950: '#000000',
  },
}
SCSS
$custom: #2d62b5;
$custom-light: #798ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62b5",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 181
  },
  "hsl": {
    "h": 216.618,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.14329,
    "h": 259.2
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#2D62B5
secondary
#C7A876
accent
#A544E3
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D62B5

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

Preview Lab → · Contrast checker → · Palette generator →

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