#2B4CA2#2B4CA2

#2B4CA2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.145 H 265.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2B4CA2
RGBrgb(43, 76, 162)
HSLhsl(223, 58%, 40%)
HSVhsv(223, 73%, 64%)
CMYKcmyk(73.5%, 53.1%, 0%, 36.5%)
CIE-LABlab(34.58, 18.81, -50.11)
CIE-LCHlch(34.58, 53.53, 290.57°)
OKLaboklab(44.28% -0.0123 -0.1442)
OKLCHoklch(44.28% 0.145 265.1)
XYZxyz(10.1000, 8.2900, 35.2433)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4CA2 #A2812B
analogous
#2B88A2 #2B4CA2 #452BA2
triadic
#2B4CA2 #A22B4C #4CA22B
tetradic
#2B4CA2 #A22B88 #A2812B #2BA245
square
#2B4CA2 #A22B88 #A2812B #2BA245
split-complementary
#2B4CA2 #A2452B #88A22B
monochromatic
#111F41 #1E3572 #2B4CA2 #3E66CC #6F8CD9

Accessibility & contrast

On white

7.90
#2B4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2B4CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4CA2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4CA2#FFFFFF#000000##FFFFFF
##2B4CA21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4ca2;
/* rgb */ color: rgb(43, 76, 162);
/* oklch */ color: oklch(44.3% 0.145 265.1);
Tailwind
colors: {
  custom: {
    50: '#757dbe',
    500: '#2b4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ca2;
$custom-light: #757dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ca2",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 223.361,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44275,
    "c": 0.14469,
    "h": 265.1
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#2B4CA2
secondary
#C0A869
accent
#B647E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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