#2A4495#2A4495

#2A4495 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.137 H 266.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2A4495
RGBrgb(42, 68, 149)
HSLhsl(225, 56%, 37%)
HSVhsv(225, 72%, 58%)
CMYKcmyk(71.8%, 54.4%, 0%, 41.6%)
CIE-LABlab(31.34, 19.07, -47.50)
CIE-LCHlch(31.34, 51.18, 291.88°)
OKLaboklab(41.51% -0.0075 -0.1366)
OKLCHoklch(41.51% 0.137 266.9)
XYZxyz(8.4449, 6.7956, 29.2946)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4495 #957B2A
analogous
#2A7995 #2A4495 #462A95
triadic
#2A4495 #952A44 #44952A
tetradic
#2A4495 #952A79 #957B2A #2A9546
square
#2A4495 #952A79 #957B2A #2A9546
split-complementary
#2A4495 #95462A #79952A
monochromatic
#0F1836 #1D2E65 #2A4495 #375AC5 #6680D4

Accessibility & contrast

On white

8.90
#2A4495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4495
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4495#FFFFFF#000000##FFFFFF
##2A44951.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F98
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4495;
/* rgb */ color: rgb(42, 68, 149);
/* oklch */ color: oklch(41.5% 0.137 266.9);
Tailwind
colors: {
  custom: {
    50: '#7277b5',
    500: '#2a4495',
    950: '#000000',
  },
}
SCSS
$custom: #2a4495;
$custom-light: #7277b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4495",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 225.421,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.13683,
    "h": 266.9
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#2A4495
secondary
#BAA461
accent
#BB48DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4495

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

Preview Lab → · Contrast checker → · Palette generator →

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