#2B5DBD#2B5DBD

#2B5DBD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.161 H 261.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2B5DBD
RGBrgb(43, 93, 189)
HSLhsl(219, 63%, 45%)
HSVhsv(219, 77%, 74%)
CMYKcmyk(77.2%, 50.8%, 0%, 25.9%)
CIE-LABlab(41.24, 17.92, -55.31)
CIE-LCHlch(41.24, 58.14, 287.95°)
OKLaboklab(49.95% -0.023 -0.1592)
OKLCHoklch(49.95% 0.161 261.8)
XYZxyz(14.0926, 12.0148, 49.7106)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DBD #BD8B2B
analogous
#2BA6BD #2B5DBD #422BBD
triadic
#2B5DBD #BD2B5D #5DBD2B
tetradic
#2B5DBD #BD2BA6 #BD8B2B #2BBD42
square
#2B5DBD #BD2BA6 #BD8B2B #2BBD42
split-complementary
#2B5DBD #BD422B #A6BD2B
monochromatic
#142C59 #20448B #2B5DBD #4E7DD7 #80A2E2

Accessibility & contrast

On white

6.17
#2B5DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2B5DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DBD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DBD#FFFFFF#000000##FFFFFF
##2B5DBD1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5dbd;
/* rgb */ color: rgb(43, 93, 189);
/* oklch */ color: oklch(49.9% 0.161 261.8);
Tailwind
colors: {
  custom: {
    50: '#7a8ad1',
    500: '#2b5dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dbd;
$custom-light: #7a8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dbd",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 219.452,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49949,
    "c": 0.16081,
    "h": 261.8
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#2B5DBD
secondary
#CBAF79
accent
#AE42E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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