#2B4DA5#2B4DA5

#2B4DA5 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.148 H 265.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2B4DA5
RGBrgb(43, 77, 165)
HSLhsl(223, 59%, 41%)
HSVhsv(223, 74%, 65%)
CMYKcmyk(73.9%, 53.3%, 0%, 35.3%)
CIE-LABlab(35.08, 19.29, -51.11)
CIE-LCHlch(35.08, 54.63, 290.68°)
OKLaboklab(44.72% -0.0128 -0.1471)
OKLCHoklch(44.72% 0.148 265)
XYZxyz(10.4393, 8.5368, 36.6876)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4DA5 #A5832B
analogous
#2B8AA5 #2B4DA5 #462BA5
triadic
#2B4DA5 #A52B4D #4DA52B
tetradic
#2B4DA5 #A52B8A #A5832B #2BA546
square
#2B4DA5 #A52B8A #A5832B #2BA546
split-complementary
#2B4DA5 #A5462B #8AA52B
monochromatic
#122044 #1E3674 #2B4DA5 #4067CD #718EDA

Accessibility & contrast

On white

7.76
#2B4DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B4DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4DA5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4DA5#FFFFFF#000000##FFFFFF
##2B4DA51.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b4da5;
/* rgb */ color: rgb(43, 77, 165);
/* oklch */ color: oklch(44.7% 0.148 265.0);
Tailwind
colors: {
  custom: {
    50: '#757ec0',
    500: '#2b4da5',
    950: '#000000',
  },
}
SCSS
$custom: #2b4da5;
$custom-light: #757ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4da5",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 223.279,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.14764,
    "h": 265
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#2B4DA5
secondary
#C1A96B
accent
#B646E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B4DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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