#2A4595#2A4595

#2A4595 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.136 H 266.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2A4595
RGBrgb(42, 69, 149)
HSLhsl(225, 56%, 37%)
HSVhsv(225, 72%, 58%)
CMYKcmyk(71.8%, 53.7%, 0%, 41.6%)
CIE-LABlab(31.62, 18.40, -47.04)
CIE-LCHlch(31.62, 50.51, 291.36°)
OKLaboklab(41.72% -0.0084 -0.1353)
OKLCHoklch(41.72% 0.136 266.5)
XYZxyz(8.5059, 6.9175, 29.3149)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4595 #957A2A
analogous
#2A7A95 #2A4595 #452A95
triadic
#2A4595 #952A45 #45952A
tetradic
#2A4595 #952A7A #957A2A #2A9545
square
#2A4595 #952A7A #957A2A #2A9545
split-complementary
#2A4595 #95452A #7A952A
monochromatic
#0F1936 #1D2F65 #2A4595 #375BC5 #6681D4

Accessibility & contrast

On white

8.81
#2A4595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2A4595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4595
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4595#FFFFFF#000000##FFFFFF
##2A45951.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4595;
/* rgb */ color: rgb(42, 69, 149);
/* oklch */ color: oklch(41.7% 0.136 266.5);
Tailwind
colors: {
  custom: {
    50: '#7278b5',
    500: '#2a4595',
    950: '#000000',
  },
}
SCSS
$custom: #2a4595;
$custom-light: #7278b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4595",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 224.86,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41718,
    "c": 0.13553,
    "h": 266.5
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#2A4595
secondary
#BAA361
accent
#B948DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4595

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

Preview Lab → · Contrast checker → · Palette generator →

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