#2B5DB9#2B5DB9

#2B5DB9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.155 H 261.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2B5DB9
RGBrgb(43, 93, 185)
HSLhsl(219, 62%, 45%)
HSVhsv(219, 77%, 73%)
CMYKcmyk(76.8%, 49.7%, 0%, 27.5%)
CIE-LABlab(40.97, 16.39, -53.42)
CIE-LCHlch(40.97, 55.88, 287.05°)
OKLaboklab(49.65% -0.0235 -0.1536)
OKLCHoklch(49.65% 0.155 261.3)
XYZxyz(13.6644, 11.8435, 47.4554)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DB9 #B9872B
analogous
#2BA4B9 #2B5DB9 #402BB9
triadic
#2B5DB9 #B92B5D #5DB92B
tetradic
#2B5DB9 #B92BA4 #B9872B #2BB940
square
#2B5DB9 #B92BA4 #B9872B #2BB940
split-complementary
#2B5DB9 #B9402B #A4B92B
monochromatic
#142B56 #1F4487 #2B5DB9 #4C7CD5 #7EA1E1

Accessibility & contrast

On white

6.23
#2B5DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2B5DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DB9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DB9#FFFFFF#000000##FFFFFF
##2B5DB91.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BC
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5db9;
/* rgb */ color: rgb(43, 93, 185);
/* oklch */ color: oklch(49.7% 0.155 261.3);
Tailwind
colors: {
  custom: {
    50: '#798acf',
    500: '#2b5db9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5db9;
$custom-light: #798acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5db9",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 185
  },
  "hsl": {
    "h": 218.873,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49653,
    "c": 0.15538,
    "h": 261.3
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#2B5DB9
secondary
#C9AC76
accent
#AC42E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2B5DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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