#2B62BC#2B62BC

#2B62BC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.0% C 0.153 H 259.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2B62BC
RGBrgb(43, 98, 188)
HSLhsl(217, 63%, 45%)
HSVhsv(217, 77%, 74%)
CMYKcmyk(77.1%, 47.9%, 0%, 26.3%)
CIE-LABlab(42.58, 14.29, -52.57)
CIE-LCHlch(42.58, 54.48, 285.20°)
OKLaboklab(50.95% -0.0271 -0.151)
OKLCHoklch(50.95% 0.153 259.8)
XYZxyz(14.4377, 12.8781, 49.2920)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62BC #BC852B
analogous
#2BABBC #2B62BC #3C2BBC
triadic
#2B62BC #BC2B62 #62BC2B
tetradic
#2B62BC #BC2BAB #BC852B #2BBC3C
square
#2B62BC #BC2BAB #BC852B #2BBC3C
split-complementary
#2B62BC #BC3C2B #ABBC2B
monochromatic
#142E58 #20488A #2B62BC #4E82D6 #80A5E2

Accessibility & contrast

On white

5.87
#2B62BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2B62BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B62BC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B62BC#FFFFFF#000000##FFFFFF
##2B62BC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b62bc;
/* rgb */ color: rgb(43, 98, 188);
/* oklch */ color: oklch(51.0% 0.153 259.8);
Tailwind
colors: {
  custom: {
    50: '#7a8ed1',
    500: '#2b62bc',
    950: '#000000',
  },
}
SCSS
$custom: #2b62bc;
$custom-light: #7a8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62bc",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 217.241,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50954,
    "c": 0.15341,
    "h": 259.8
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#2B62BC
secondary
#CBAB78
accent
#A842E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2B62BC

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

Preview Lab → · Contrast checker → · Palette generator →

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