#2B4ABD#2B4ABD

#2B4ABD is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.184 H 267.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2B4ABD
RGBrgb(43, 74, 189)
HSLhsl(227, 63%, 45%)
HSVhsv(227, 77%, 74%)
CMYKcmyk(77.2%, 60.8%, 0%, 25.9%)
CIE-LABlab(36.15, 30.36, -63.59)
CIE-LCHlch(36.15, 70.47, 295.52°)
OKLaboklab(46.11% -0.0095 -0.1838)
OKLCHoklch(46.11% 0.184 267.1)
XYZxyz(12.6271, 9.0838, 49.2221)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4ABD #BD9E2B
analogous
#2B93BD #2B4ABD #552BBD
triadic
#2B4ABD #BD2B4A #4ABD2B
tetradic
#2B4ABD #BD2B93 #BD9E2B #2BBD55
square
#2B4ABD #BD2B93 #BD9E2B #2BBD55
split-complementary
#2B4ABD #BD552B #93BD2B
monochromatic
#142359 #20368B #2B4ABD #4E6BD7 #8095E2

Accessibility & contrast

On white

7.45
#2B4ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2B4ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4ABD
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4ABD#FFFFFF#000000##FFFFFF
##2B4ABD1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4abd;
/* rgb */ color: rgb(43, 74, 189);
/* oklch */ color: oklch(46.1% 0.184 267.1);
Tailwind
colors: {
  custom: {
    50: '#7b7cd2',
    500: '#2b4abd',
    950: '#000000',
  },
}
SCSS
$custom: #2b4abd;
$custom-light: #7b7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4abd",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 227.26,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4611,
    "c": 0.18404,
    "h": 267.1
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#2B4ABD
secondary
#CBB979
accent
#C342E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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