#2B4ABC#2B4ABC

#2B4ABC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.183 H 267.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2B4ABC
RGBrgb(43, 74, 188)
HSLhsl(227, 63%, 45%)
HSVhsv(227, 77%, 74%)
CMYKcmyk(77.1%, 60.6%, 0%, 26.3%)
CIE-LABlab(36.06, 29.99, -63.14)
CIE-LCHlch(36.06, 69.90, 295.41°)
OKLaboklab(46.02% -0.0095 -0.1825)
OKLCHoklch(46.02% 0.183 267)
XYZxyz(12.5190, 9.0406, 48.6524)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4ABC #BC9D2B
analogous
#2B93BC #2B4ABC #542BBC
triadic
#2B4ABC #BC2B4A #4ABC2B
tetradic
#2B4ABC #BC2B93 #BC9D2B #2BBC54
square
#2B4ABC #BC2B93 #BC9D2B #2BBC54
split-complementary
#2B4ABC #BC542B #93BC2B
monochromatic
#142358 #20368A #2B4ABC #4E6BD6 #8095E2

Accessibility & contrast

On white

7.48
#2B4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2B4ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4ABC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4ABC#FFFFFF#000000##FFFFFF
##2B4ABC1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4abc;
/* rgb */ color: rgb(43, 74, 188);
/* oklch */ color: oklch(46.0% 0.183 267.0);
Tailwind
colors: {
  custom: {
    50: '#7b7cd1',
    500: '#2b4abc',
    950: '#000000',
  },
}
SCSS
$custom: #2b4abc;
$custom-light: #7b7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4abc",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 227.172,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.18273,
    "h": 267
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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