#2B4DA2#2B4DA2

#2B4DA2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.143 H 264.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2B4DA2
RGBrgb(43, 77, 162)
HSLhsl(223, 58%, 40%)
HSVhsv(223, 73%, 64%)
CMYKcmyk(73.5%, 52.5%, 0%, 36.5%)
CIE-LABlab(34.86, 18.14, -49.66)
CIE-LCHlch(34.86, 52.87, 290.07°)
OKLaboklab(44.49% -0.0131 -0.1428)
OKLCHoklch(44.49% 0.143 264.8)
XYZxyz(10.1694, 8.4289, 35.2664)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DA2 #A2802B
analogous
#2B89A2 #2B4DA2 #442BA2
triadic
#2B4DA2 #A22B4D #4DA22B
tetradic
#2B4DA2 #A22B89 #A2802B #2BA244
square
#2B4DA2 #A22B89 #A2802B #2BA244
split-complementary
#2B4DA2 #A2442B #89A22B
monochromatic
#111F41 #1E3672 #2B4DA2 #3E67CC #6F8DD9

Accessibility & contrast

On white

7.82
#2B4DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B4DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DA2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DA2#FFFFFF#000000##FFFFFF
##2B4DA21.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4da2;
/* rgb */ color: rgb(43, 77, 162);
/* oklch */ color: oklch(44.5% 0.143 264.8);
Tailwind
colors: {
  custom: {
    50: '#757ebe',
    500: '#2b4da2',
    950: '#000000',
  },
}
SCSS
$custom: #2b4da2;
$custom-light: #757ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4da2",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 222.857,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.14342,
    "h": 264.8
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#2B4DA2
secondary
#C0A769
accent
#B547E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B4DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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