#2D62B3#2D62B3

#2D62B3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.141 H 258.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2D62B3
RGBrgb(45, 98, 179)
HSLhsl(216, 60%, 44%)
HSVhsv(216, 75%, 70%)
CMYKcmyk(74.9%, 45.3%, 0%, 29.8%)
CIE-LABlab(42.07, 11.11, -48.13)
CIE-LCHlch(42.07, 49.39, 282.99°)
OKLaboklab(50.4% -0.0273 -0.1379)
OKLCHoklch(50.4% 0.141 258.8)
XYZxyz(13.5836, 12.5464, 44.3449)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62B3 #B37E2D
analogous
#2DA5B3 #2D62B3 #3B2DB3
triadic
#2D62B3 #B32D62 #62B32D
tetradic
#2D62B3 #B32DA5 #B37E2D #2DB33B
square
#2D62B3 #B32DA5 #B37E2D #2DB33B
split-complementary
#2D62B3 #B33B2D #A5B32D
monochromatic
#142C51 #214782 #2D62B3 #4B81D2 #7CA3DE

Accessibility & contrast

On white

5.98
#2D62B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2D62B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62B3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62B3#FFFFFF#000000##FFFFFF
##2D62B31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d62b3;
/* rgb */ color: rgb(45, 98, 179);
/* oklch */ color: oklch(50.4% 0.141 258.8);
Tailwind
colors: {
  custom: {
    50: '#788eca',
    500: '#2d62b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d62b3;
$custom-light: #788eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62b3",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 216.269,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50397,
    "c": 0.14056,
    "h": 258.8
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#2D62B3
secondary
#C7A675
accent
#A445E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D62B3

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

Preview Lab → · Contrast checker → · Palette generator →

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