#2A4499#2A4499

#2A4499 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.143 H 267.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2A4499
RGBrgb(42, 68, 153)
HSLhsl(226, 57%, 38%)
HSVhsv(226, 73%, 60%)
CMYKcmyk(72.5%, 55.6%, 0%, 40%)
CIE-LABlab(31.64, 20.61, -49.45)
CIE-LCHlch(31.64, 53.57, 292.62°)
OKLaboklab(41.83% -0.0072 -0.1424)
OKLCHoklch(41.83% 0.143 267.1)
XYZxyz(8.7697, 6.9255, 31.0054)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4499 #997F2A
analogous
#2A7B99 #2A4499 #472A99
triadic
#2A4499 #992A44 #44992A
tetradic
#2A4499 #992A7B #997F2A #2A9947
square
#2A4499 #992A7B #997F2A #2A9947
split-complementary
#2A4499 #99472A #7B992A
monochromatic
#101939 #1D2F69 #2A4499 #385AC8 #6882D6

Accessibility & contrast

On white

8.80
#2A4499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A4499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4499
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4499#FFFFFF#000000##FFFFFF
##2A44991.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4499;
/* rgb */ color: rgb(42, 68, 153);
/* oklch */ color: oklch(41.8% 0.143 267.1);
Tailwind
colors: {
  custom: {
    50: '#7377b8',
    500: '#2a4499',
    950: '#000000',
  },
}
SCSS
$custom: #2a4499;
$custom-light: #7377b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4499",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 225.946,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.14255,
    "h": 267.1
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#2A4499
secondary
#BCA763
accent
#BC48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4499

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

Preview Lab → · Contrast checker → · Palette generator →

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