#2B5ABD#2B5ABD

#2B5ABD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.164 H 262.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2B5ABD
RGBrgb(43, 90, 189)
HSLhsl(221, 63%, 45%)
HSVhsv(221, 77%, 74%)
CMYKcmyk(77.2%, 52.4%, 0%, 25.9%)
CIE-LABlab(40.41, 19.88, -56.66)
CIE-LCHlch(40.41, 60.04, 289.33°)
OKLaboklab(49.32% -0.0207 -0.1632)
OKLCHoklch(49.32% 0.164 262.8)
XYZxyz(13.8344, 11.4985, 49.6245)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5ABD #BD8E2B
analogous
#2BA3BD #2B5ABD #452BBD
triadic
#2B5ABD #BD2B5A #5ABD2B
tetradic
#2B5ABD #BD2BA3 #BD8E2B #2BBD45
square
#2B5ABD #BD2BA3 #BD8E2B #2BBD45
split-complementary
#2B5ABD #BD452B #A3BD2B
monochromatic
#142B59 #20428B #2B5ABD #4E7AD7 #80A0E2

Accessibility & contrast

On white

6.36
#2B5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2B5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5ABD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5ABD#FFFFFF#000000##FFFFFF
##2B5ABD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5abd;
/* rgb */ color: rgb(43, 90, 189);
/* oklch */ color: oklch(49.3% 0.164 262.8);
Tailwind
colors: {
  custom: {
    50: '#7a88d2',
    500: '#2b5abd',
    950: '#000000',
  },
}
SCSS
$custom: #2b5abd;
$custom-light: #7a88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5abd",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 220.685,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.16448,
    "h": 262.8
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#2B5ABD
secondary
#CBB179
accent
#B142E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2B5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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