#2B62B6#2B62B6

#2B62B6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.145 H 258.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2B62B6
RGBrgb(43, 98, 182)
HSLhsl(216, 62%, 44%)
HSVhsv(216, 76%, 71%)
CMYKcmyk(76.4%, 46.2%, 0%, 28.6%)
CIE-LABlab(42.19, 11.99, -49.69)
CIE-LCHlch(42.19, 51.12, 283.57°)
OKLaboklab(50.53% -0.0281 -0.1425)
OKLCHoklch(50.53% 0.145 258.9)
XYZxyz(13.8044, 12.6248, 45.9562)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62B6 #B67F2B
analogous
#2BA8B6 #2B62B6 #3A2BB6
triadic
#2B62B6 #B62B62 #62B62B
tetradic
#2B62B6 #B62BA8 #B67F2B #2BB63A
square
#2B62B6 #B62BA8 #B67F2B #2BB63A
split-complementary
#2B62B6 #B63A2B #A8B62B
monochromatic
#142D53 #1F4784 #2B62B6 #4A81D4 #7BA3E0

Accessibility & contrast

On white

5.96
#2B62B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2B62B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B62B6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B62B6#FFFFFF#000000##FFFFFF
##2B62B61.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366AB9
Deuteranopia (green-blind)
#155EB4
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b62b6;
/* rgb */ color: rgb(43, 98, 182);
/* oklch */ color: oklch(50.5% 0.145 258.9);
Tailwind
colors: {
  custom: {
    50: '#788ecc',
    500: '#2b62b6',
    950: '#000000',
  },
}
SCSS
$custom: #2b62b6;
$custom-light: #788ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62b6",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 182
  },
  "hsl": {
    "h": 216.259,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.14527,
    "h": 258.9
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#2B62B6
secondary
#C8A775
accent
#A543E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B62B6

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

Preview Lab → · Contrast checker → · Palette generator →

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