#2D62C1#2D62C1

#2D62C1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.4% C 0.160 H 261.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2D62C1
RGBrgb(45, 98, 193)
HSLhsl(219, 62%, 47%)
HSVhsv(219, 77%, 76%)
CMYKcmyk(76.7%, 49.2%, 0%, 24.3%)
CIE-LABlab(42.98, 16.43, -54.83)
CIE-LCHlch(42.98, 57.24, 286.68°)
OKLaboklab(51.38% -0.025 -0.1576)
OKLCHoklch(51.38% 0.16 261)
XYZxyz(15.0720, 13.1418, 52.1840)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62C1 #C18C2D
analogous
#2DACC1 #2D62C1 #422DC1
triadic
#2D62C1 #C12D62 #62C12D
tetradic
#2D62C1 #C12DAC #C18C2D #2DC142
square
#2D62C1 #C12DAC #C18C2D #2DC142
split-complementary
#2D62C1 #C1422D #ACC12D
monochromatic
#16305E #21498F #2D62C1 #5483D7 #86A7E3

Accessibility & contrast

On white

5.79
#2D62C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2D62C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D62C1
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D62C1#FFFFFF#000000##FFFFFF
##2D62C11.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC4
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d62c1;
/* rgb */ color: rgb(45, 98, 193);
/* oklch */ color: oklch(51.4% 0.160 261.0);
Tailwind
colors: {
  custom: {
    50: '#7b8ed4',
    500: '#2d62c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d62c1;
$custom-light: #7b8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62c1",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 193
  },
  "hsl": {
    "h": 218.514,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51383,
    "c": 0.15959,
    "h": 261
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#2D62C1
secondary
#CCB07E
accent
#AB43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D62C1

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

Preview Lab → · Contrast checker → · Palette generator →

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