#2B5EB0#2B5EB0

#2B5EB0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.2% C 0.142 H 259.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2B5EB0
RGBrgb(43, 94, 176)
HSLhsl(217, 61%, 43%)
HSVhsv(217, 76%, 69%)
CMYKcmyk(75.6%, 46.6%, 0%, 31%)
CIE-LABlab(40.66, 12.29, -48.64)
CIE-LCHlch(40.66, 50.17, 284.18°)
OKLaboklab(49.23% -0.0257 -0.1395)
OKLCHoklch(49.23% 0.142 259.6)
XYZxyz(12.8326, 11.6521, 42.6386)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EB0 #B07D2B
analogous
#2BA1B0 #2B5EB0 #3A2BB0
triadic
#2B5EB0 #B02B5E #5EB02B
tetradic
#2B5EB0 #B02BA1 #B07D2B #2BB03A
square
#2B5EB0 #B02BA1 #B07D2B #2BB03A
split-complementary
#2B5EB0 #B03A2B #A1B02B
monochromatic
#13294E #1F447F #2B5EB0 #467CD2 #789FDE

Accessibility & contrast

On white

6.30
#2B5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2B5EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EB0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EB0#FFFFFF#000000##FFFFFF
##2B5EB01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B3
Deuteranopia (green-blind)
#125AAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5eb0;
/* rgb */ color: rgb(43, 94, 176);
/* oklch */ color: oklch(49.2% 0.142 259.6);
Tailwind
colors: {
  custom: {
    50: '#778bc8',
    500: '#2b5eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eb0;
$custom-light: #778bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eb0",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 216.992,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.14185,
    "h": 259.6
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#2B5EB0
secondary
#C6A571
accent
#A744E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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