#2B62B8#2B62B8

#2B62B8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.148 H 259.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2B62B8
RGBrgb(43, 98, 184)
HSLhsl(217, 62%, 45%)
HSVhsv(217, 77%, 72%)
CMYKcmyk(76.6%, 46.7%, 0%, 27.8%)
CIE-LABlab(42.32, 12.76, -50.66)
CIE-LCHlch(42.32, 52.24, 284.14°)
OKLaboklab(50.67% -0.0277 -0.1454)
OKLCHoklch(50.67% 0.148 259.2)
XYZxyz(14.0125, 12.7080, 47.0525)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B62B8 #B8812B
analogous
#2BA9B8 #2B62B8 #3B2BB8
triadic
#2B62B8 #B82B62 #62B82B
tetradic
#2B62B8 #B82BA9 #B8812B #2BB83B
square
#2B62B8 #B82BA9 #B8812B #2BB83B
split-complementary
#2B62B8 #B83B2B #A9B82B
monochromatic
#142D55 #1F4886 #2B62B8 #4B81D5 #7DA4E1

Accessibility & contrast

On white

5.93
#2B62B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2B62B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B62B8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B62B8#FFFFFF#000000##FFFFFF
##2B62B81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#0F5EB6
Tritanopia (blue-blind)
#007684
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b62b8;
/* rgb */ color: rgb(43, 98, 184);
/* oklch */ color: oklch(50.7% 0.148 259.2);
Tailwind
colors: {
  custom: {
    50: '#798ece',
    500: '#2b62b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b62b8;
$custom-light: #798ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2b62b8",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 216.596,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50671,
    "c": 0.14798,
    "h": 259.2
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#2B62B8
secondary
#C9A976
accent
#A643E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2B62B8

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

Preview Lab → · Contrast checker → · Palette generator →

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