#2A4599#2A4599

#2A4599 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.141 H 266.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2A4599
RGBrgb(42, 69, 153)
HSLhsl(225, 57%, 38%)
HSVhsv(225, 73%, 60%)
CMYKcmyk(72.5%, 54.9%, 0%, 40%)
CIE-LABlab(31.91, 19.93, -49.00)
CIE-LCHlch(31.91, 52.89, 292.13°)
OKLaboklab(42.04% -0.008 -0.141)
OKLCHoklch(42.04% 0.141 266.7)
XYZxyz(8.8307, 7.0475, 31.0257)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4599 #997E2A
analogous
#2A7C99 #2A4599 #462A99
triadic
#2A4599 #992A45 #45992A
tetradic
#2A4599 #992A7C #997E2A #2A9946
square
#2A4599 #992A7C #997E2A #2A9946
split-complementary
#2A4599 #99462A #7C992A
monochromatic
#101A39 #1D2F69 #2A4599 #385BC8 #6883D6

Accessibility & contrast

On white

8.72
#2A4599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2A4599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4599
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4599#FFFFFF#000000##FFFFFF
##2A45991.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03509C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4599;
/* rgb */ color: rgb(42, 69, 153);
/* oklch */ color: oklch(42.0% 0.141 266.7);
Tailwind
colors: {
  custom: {
    50: '#7378b8',
    500: '#2a4599',
    950: '#000000',
  },
}
SCSS
$custom: #2a4599;
$custom-light: #7378b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4599",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 225.405,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.14125,
    "h": 266.7
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#2A4599
secondary
#BCA663
accent
#BB48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4599

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

Preview Lab → · Contrast checker → · Palette generator →

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