#2B62B5#2B62B5

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

Color values

HEX#2B62B5
RGBrgb(43, 98, 181)
HSLhsl(216, 62%, 44%)
HSVhsv(216, 76%, 71%)
CMYKcmyk(76.2%, 45.9%, 0%, 29%)
CIE-LABlab(42.13, 11.61, -49.21)
CIE-LCHlch(42.13, 50.56, 283.28°)
OKLaboklab(50.46% -0.0283 -0.1411)
OKLCHoklch(50.46% 0.144 258.7)
XYZxyz(13.7014, 12.5836, 45.4139)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62B5 #B57E2B
analogous
#2BA7B5 #2B62B5 #392BB5
triadic
#2B62B5 #B52B62 #62B52B
tetradic
#2B62B5 #B52BA7 #B57E2B #2BB539
square
#2B62B5 #B52BA7 #B57E2B #2BB539
split-complementary
#2B62B5 #B5392B #A7B52B
monochromatic
#142C52 #1F4784 #2B62B5 #4981D4 #7BA3E0

Accessibility & contrast

On white

5.97
#2B62B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2B62B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B62B5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B62B5#FFFFFF#000000##FFFFFF
##2B62B51.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376AB8
Deuteranopia (green-blind)
#175EB3
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b62b5;
/* rgb */ color: rgb(43, 98, 181);
/* oklch */ color: oklch(50.5% 0.144 258.7);
Tailwind
colors: {
  custom: {
    50: '#788ecc',
    500: '#2b62b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b62b5;
$custom-light: #788ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62b5",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 181
  },
  "hsl": {
    "h": 216.087,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.14391,
    "h": 258.7
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#2B62B5
secondary
#C8A674
accent
#A443E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B62B5

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

Preview Lab → · Contrast checker → · Palette generator →

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