#2A4B95#2A4B95

#2A4B95 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.128 H 263.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2A4B95
RGBrgb(42, 75, 149)
HSLhsl(221, 56%, 37%)
HSVhsv(221, 72%, 58%)
CMYKcmyk(71.8%, 49.7%, 0%, 41.6%)
CIE-LABlab(33.34, 14.34, -44.27)
CIE-LCHlch(33.34, 46.54, 287.95°)
OKLaboklab(43.03% -0.0138 -0.127)
OKLCHoklch(43.03% 0.128 263.8)
XYZxyz(8.8938, 7.6934, 29.4442)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B95 #95742A
analogous
#2A8195 #2A4B95 #3E2A95
triadic
#2A4B95 #952A4B #4B952A
tetradic
#2A4B95 #952A81 #95742A #2A953E
square
#2A4B95 #952A81 #95742A #2A953E
split-complementary
#2A4B95 #953E2A #81952A
monochromatic
#0F1B36 #1D3365 #2A4B95 #3763C5 #6688D4

Accessibility & contrast

On white

8.27
#2A4B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2A4B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B95
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B95#FFFFFF#000000##FFFFFF
##2A4B951.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#024A93
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a4b95;
/* rgb */ color: rgb(42, 75, 149);
/* oklch */ color: oklch(43.0% 0.128 263.8);
Tailwind
colors: {
  custom: {
    50: '#717cb5',
    500: '#2a4b95',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b95;
$custom-light: #717cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b95",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 221.495,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.12777,
    "h": 263.8
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#2A4B95
secondary
#BA9E61
accent
#B148DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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