#2B62B4#2B62B4

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

Color values

HEX#2B62B4
RGBrgb(43, 98, 180)
HSLhsl(216, 61%, 44%)
HSVhsv(216, 76%, 71%)
CMYKcmyk(76.1%, 45.6%, 0%, 29.4%)
CIE-LABlab(42.07, 11.23, -48.72)
CIE-LCHlch(42.07, 50.00, 282.98°)
OKLaboklab(50.39% -0.0284 -0.1397)
OKLCHoklch(50.39% 0.143 258.5)
XYZxyz(13.5992, 12.5427, 44.8754)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62B4 #B47D2B
analogous
#2BA6B4 #2B62B4 #382BB4
triadic
#2B62B4 #B42B62 #62B42B
tetradic
#2B62B4 #B42BA6 #B47D2B #2BB438
square
#2B62B4 #B42BA6 #B47D2B #2BB438
split-complementary
#2B62B4 #B4382B #A6B42B
monochromatic
#132C51 #1F4783 #2B62B4 #4980D3 #7AA3DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B62B4#FFFFFF#000000##FFFFFF
##2B62B41.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)
#376AB7
Deuteranopia (green-blind)
#195DB2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b62b4;
/* rgb */ color: rgb(43, 98, 180);
/* oklch */ color: oklch(50.4% 0.143 258.5);
Tailwind
colors: {
  custom: {
    50: '#788ecb',
    500: '#2b62b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b62b4;
$custom-light: #788ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62b4",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 215.912,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.14255,
    "h": 258.5
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#2B62B4
secondary
#C7A673
accent
#A443E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B62B4

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

Preview Lab → · Contrast checker → · Palette generator →

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