#2B62C9#2B62C9

#2B62C9 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.9% C 0.171 H 261.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2B62C9
RGBrgb(43, 98, 201)
HSLhsl(219, 65%, 48%)
HSVhsv(219, 79%, 79%)
CMYKcmyk(78.6%, 51.2%, 0%, 21.2%)
CIE-LABlab(43.45, 19.25, -58.69)
CIE-LCHlch(43.45, 61.76, 288.16°)
OKLaboklab(51.9% -0.0253 -0.169)
OKLCHoklch(51.9% 0.171 261.5)
XYZxyz(15.9028, 13.4641, 57.0077)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62C9 #C9922B
analogous
#2BB1C9 #2B62C9 #432BC9
triadic
#2B62C9 #C92B62 #62C92B
tetradic
#2B62C9 #C92BB1 #C9922B #2BC943
square
#2B62C9 #C92BB1 #C9922B #2BC943
split-complementary
#2B62C9 #C9432B #B1C92B
monochromatic
#153164 #204997 #2B62C9 #5684DB #89A9E6

Accessibility & contrast

On white

5.69
#2B62C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2B62C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B62C9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B62C9#FFFFFF#000000##FFFFFF
##2B62C91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECD
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b62c9;
/* rgb */ color: rgb(43, 98, 201);
/* oklch */ color: oklch(51.9% 0.171 261.5);
Tailwind
colors: {
  custom: {
    50: '#7c8eda',
    500: '#2b62c9',
    950: '#000000',
  },
}
SCSS
$custom: #2b62c9;
$custom-light: #7c8eda;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62c9",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 201
  },
  "hsl": {
    "h": 219.114,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.17088,
    "h": 261.5
  },
  "luminance": 0.13466
}

Semantic roles & 50–950 ramp

primary
#2B62C9
secondary
#CFB480
accent
#AD40E8
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2B62C9

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

Preview Lab → · Contrast checker → · Palette generator →

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