#2B62C1#2B62C1

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

Color values

HEX#2B62C1
RGBrgb(43, 98, 193)
HSLhsl(218, 64%, 46%)
HSVhsv(218, 78%, 76%)
CMYKcmyk(77.7%, 49.2%, 0%, 24.3%)
CIE-LABlab(42.91, 16.20, -54.94)
CIE-LCHlch(42.91, 57.28, 286.43°)
OKLaboklab(51.31% -0.0263 -0.158)
OKLCHoklch(51.31% 0.16 260.5)
XYZxyz(14.9861, 13.0975, 52.1800)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62C1 #C18A2B
analogous
#2BADC1 #2B62C1 #3F2BC1
triadic
#2B62C1 #C12B62 #62C12B
tetradic
#2B62C1 #C12BAD #C18A2B #2BC13F
square
#2B62C1 #C12BAD #C18A2B #2BC13F
split-complementary
#2B62C1 #C13F2B #ADC12B
monochromatic
#152F5D #20498F #2B62C1 #5183D8 #83A6E3

Accessibility & contrast

On white

5.80
#2B62C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2B62C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B62C1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B62C1#FFFFFF#000000##FFFFFF
##2B62C11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.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: #2b62c1;
/* rgb */ color: rgb(43, 98, 193);
/* oklch */ color: oklch(51.3% 0.160 260.5);
Tailwind
colors: {
  custom: {
    50: '#7b8ed4',
    500: '#2b62c1',
    950: '#000000',
  },
}
SCSS
$custom: #2b62c1;
$custom-light: #7b8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62c1",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 193
  },
  "hsl": {
    "h": 218,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.16016,
    "h": 260.5
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#2B62C1
secondary
#CCAF7B
accent
#AA41E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2B62C1

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

Preview Lab → · Contrast checker → · Palette generator →

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