#2A4496#2A4496

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

Color values

HEX#2A4496
RGBrgb(42, 68, 150)
HSLhsl(226, 56%, 38%)
HSVhsv(226, 72%, 59%)
CMYKcmyk(72%, 54.7%, 0%, 41.2%)
CIE-LABlab(31.41, 19.46, -47.99)
CIE-LCHlch(31.41, 51.78, 292.07°)
OKLaboklab(41.59% -0.0074 -0.1381)
OKLCHoklch(41.59% 0.138 266.9)
XYZxyz(8.5251, 6.8276, 29.7168)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4496 #967C2A
analogous
#2A7A96 #2A4496 #462A96
triadic
#2A4496 #962A44 #44962A
tetradic
#2A4496 #962A7A #967C2A #2A9646
square
#2A4496 #962A7A #967C2A #2A9646
split-complementary
#2A4496 #96462A #7A962A
monochromatic
#0F1936 #1D2E66 #2A4496 #375AC6 #6681D4

Accessibility & contrast

On white

8.88
#2A4496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2A4496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4496
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4496#FFFFFF#000000##FFFFFF
##2A44961.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064F99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4496;
/* rgb */ color: rgb(42, 68, 150);
/* oklch */ color: oklch(41.6% 0.138 266.9);
Tailwind
colors: {
  custom: {
    50: '#7277b5',
    500: '#2a4496',
    950: '#000000',
  },
}
SCSS
$custom: #2a4496;
$custom-light: #7277b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4496",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 150
  },
  "hsl": {
    "h": 225.556,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41585,
    "c": 0.13827,
    "h": 266.9
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4496

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

Preview Lab → · Contrast checker → · Palette generator →

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