#2A4D99#2A4D99

#2A4D99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.131 H 263.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2A4D99
RGBrgb(42, 77, 153)
HSLhsl(221, 57%, 38%)
HSVhsv(221, 73%, 60%)
CMYKcmyk(72.5%, 49.7%, 0%, 40%)
CIE-LABlab(34.19, 14.54, -45.32)
CIE-LCHlch(34.19, 47.60, 287.79°)
OKLaboklab(43.76% -0.0151 -0.1301)
OKLCHoklch(43.76% 0.131 263.4)
XYZxyz(9.3565, 8.0989, 31.2010)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D99 #99762A
analogous
#2A8499 #2A4D99 #3E2A99
triadic
#2A4D99 #992A4D #4D992A
tetradic
#2A4D99 #992A84 #99762A #2A993E
square
#2A4D99 #992A84 #99762A #2A993E
split-complementary
#2A4D99 #993E2A #84992A
monochromatic
#101D39 #1D3569 #2A4D99 #3865C8 #688AD6

Accessibility & contrast

On white

8.02
#2A4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2A4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D99
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D99#FFFFFF#000000##FFFFFF
##2A4D991.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569C
Deuteranopia (green-blind)
#004C97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4d99;
/* rgb */ color: rgb(42, 77, 153);
/* oklch */ color: oklch(43.8% 0.131 263.4);
Tailwind
colors: {
  custom: {
    50: '#727eb7',
    500: '#2a4d99',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d99;
$custom-light: #727eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d99",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 221.081,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43763,
    "c": 0.13095,
    "h": 263.4
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#2A4D99
secondary
#BCA063
accent
#B048E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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