#2A4399#2A4399

#2A4399 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.144 H 267.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2A4399
RGBrgb(42, 67, 153)
HSLhsl(226, 57%, 38%)
HSVhsv(226, 73%, 60%)
CMYKcmyk(72.5%, 56.2%, 0%, 40%)
CIE-LABlab(31.36, 21.28, -49.90)
CIE-LCHlch(31.36, 54.24, 293.10°)
OKLaboklab(41.62% -0.0063 -0.1437)
OKLCHoklch(41.62% 0.144 267.5)
XYZxyz(8.7098, 6.8056, 30.9854)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4399 #99802A
analogous
#2A7A99 #2A4399 #482A99
triadic
#2A4399 #992A43 #43992A
tetradic
#2A4399 #992A7A #99802A #2A9948
square
#2A4399 #992A7A #99802A #2A9948
split-complementary
#2A4399 #99482A #7A992A
monochromatic
#101939 #1D2E69 #2A4399 #3858C8 #6881D6

Accessibility & contrast

On white

8.89
#2A4399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A4399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4399
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4399#FFFFFF#000000##FFFFFF
##2A43991.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4399;
/* rgb */ color: rgb(42, 67, 153);
/* oklch */ color: oklch(41.6% 0.144 267.5);
Tailwind
colors: {
  custom: {
    50: '#7376b8',
    500: '#2a4399',
    950: '#000000',
  },
}
SCSS
$custom: #2a4399;
$custom-light: #7376b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4399",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 226.486,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.14384,
    "h": 267.5
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#2A4399
secondary
#BCA863
accent
#BE48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4399

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

Preview Lab → · Contrast checker → · Palette generator →

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