#2B4ABE#2B4ABE

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

Color values

HEX#2B4ABE
RGBrgb(43, 74, 190)
HSLhsl(227, 63%, 46%)
HSVhsv(227, 77%, 75%)
CMYKcmyk(77.4%, 61.1%, 0%, 25.5%)
CIE-LABlab(36.23, 30.74, -64.04)
CIE-LCHlch(36.23, 71.04, 295.64°)
OKLaboklab(46.2% -0.0095 -0.1851)
OKLCHoklch(46.2% 0.185 267.1)
XYZxyz(12.7361, 9.1274, 49.7957)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4ABE #BE9F2B
analogous
#2B93BE #2B4ABE #552BBE
triadic
#2B4ABE #BE2B4A #4ABE2B
tetradic
#2B4ABE #BE2B93 #BE9F2B #2BBE55
square
#2B4ABE #BE2B93 #BE9F2B #2BBE55
split-complementary
#2B4ABE #BE552B #93BE2B
monochromatic
#14235A #20378C #2B4ABE #4F6CD7 #8195E2

Accessibility & contrast

On white

7.43
#2B4ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2B4ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4ABE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4ABE#FFFFFF#000000##FFFFFF
##2B4ABE1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b4abe;
/* rgb */ color: rgb(43, 74, 190);
/* oklch */ color: oklch(46.2% 0.185 267.1);
Tailwind
colors: {
  custom: {
    50: '#7b7cd3',
    500: '#2b4abe',
    950: '#000000',
  },
}
SCSS
$custom: #2b4abe;
$custom-light: #7b7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4abe",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 227.347,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46197,
    "c": 0.18537,
    "h": 267.1
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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