#2B5DB8#2B5DB8

#2B5DB8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.154 H 261.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2B5DB8
RGBrgb(43, 93, 184)
HSLhsl(219, 62%, 45%)
HSVhsv(219, 77%, 72%)
CMYKcmyk(76.6%, 49.5%, 0%, 27.8%)
CIE-LABlab(40.90, 16.00, -52.94)
CIE-LCHlch(40.90, 55.31, 286.82°)
OKLaboklab(49.58% -0.0236 -0.1522)
OKLCHoklch(49.58% 0.154 261.2)
XYZxyz(13.5592, 11.8014, 46.9014)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DB8 #B8862B
analogous
#2BA4B8 #2B5DB8 #3F2BB8
triadic
#2B5DB8 #B82B5D #5DB82B
tetradic
#2B5DB8 #B82BA4 #B8862B #2BB83F
square
#2B5DB8 #B82BA4 #B8862B #2BB83F
split-complementary
#2B5DB8 #B83F2B #A4B82B
monochromatic
#142B55 #1F4486 #2B5DB8 #4B7CD5 #7DA0E1

Accessibility & contrast

On white

6.25
#2B5DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2B5DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DB8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DB8#FFFFFF#000000##FFFFFF
##2B5DB81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BB
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5db8;
/* rgb */ color: rgb(43, 93, 184);
/* oklch */ color: oklch(49.6% 0.154 261.2);
Tailwind
colors: {
  custom: {
    50: '#798ace',
    500: '#2b5db8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5db8;
$custom-light: #798ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5db8",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 218.723,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.15401,
    "h": 261.2
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#2B5DB8
secondary
#C9AB76
accent
#AC43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2B5DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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