#2B4EA3#2B4EA3

#2B4EA3 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.144 H 264.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2B4EA3
RGBrgb(43, 78, 163)
HSLhsl(223, 58%, 40%)
HSVhsv(223, 74%, 64%)
CMYKcmyk(73.6%, 52.1%, 0%, 36.1%)
CIE-LABlab(35.21, 17.86, -49.69)
CIE-LCHlch(35.21, 52.80, 289.77°)
OKLaboklab(44.78% -0.0139 -0.1429)
OKLCHoklch(44.78% 0.144 264.5)
XYZxyz(10.3292, 8.6056, 35.7599)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4EA3 #A3802B
analogous
#2B8AA3 #2B4EA3 #442BA3
triadic
#2B4EA3 #A32B4E #4EA32B
tetradic
#2B4EA3 #A32B8A #A3802B #2BA344
square
#2B4EA3 #A32B8A #A3802B #2BA344
split-complementary
#2B4EA3 #A3442B #8AA32B
monochromatic
#112042 #1E3773 #2B4EA3 #3F68CC #6F8ED9

Accessibility & contrast

On white

7.72
#2B4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B4EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4EA3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4EA3#FFFFFF#000000##FFFFFF
##2B4EA31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1759A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b4ea3;
/* rgb */ color: rgb(43, 78, 163);
/* oklch */ color: oklch(44.8% 0.144 264.5);
Tailwind
colors: {
  custom: {
    50: '#757fbf',
    500: '#2b4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ea3;
$custom-light: #757fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ea3",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 222.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.14356,
    "h": 264.5
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#2B4EA3
secondary
#C0A76A
accent
#B446E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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