#2A4994#2A4994

#2A4994 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.129 H 264.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2A4994
RGBrgb(42, 73, 148)
HSLhsl(222, 56%, 37%)
HSVhsv(222, 72%, 58%)
CMYKcmyk(71.6%, 50.7%, 0%, 42%)
CIE-LABlab(32.69, 15.30, -44.71)
CIE-LCHlch(32.69, 47.25, 288.90°)
OKLaboklab(42.51% -0.0121 -0.1283)
OKLCHoklch(42.51% 0.129 264.6)
XYZxyz(8.6808, 7.3946, 28.9810)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4994 #94752A
analogous
#2A7E94 #2A4994 #402A94
triadic
#2A4994 #942A49 #49942A
tetradic
#2A4994 #942A7E #94752A #2A9440
square
#2A4994 #942A7E #94752A #2A9440
split-complementary
#2A4994 #94402A #7E942A
monochromatic
#0F1A35 #1C3164 #2A4994 #3861C4 #6585D3

Accessibility & contrast

On white

8.47
#2A4994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A4994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4994
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4994#FFFFFF#000000##FFFFFF
##2A49941.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5297
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4994;
/* rgb */ color: rgb(42, 73, 148);
/* oklch */ color: oklch(42.5% 0.129 264.6);
Tailwind
colors: {
  custom: {
    50: '#717bb4',
    500: '#2a4994',
    950: '#000000',
  },
}
SCSS
$custom: #2a4994;
$custom-light: #717bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4994",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 148
  },
  "hsl": {
    "h": 222.453,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.1289,
    "h": 264.6
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#2A4994
secondary
#B99F60
accent
#B349DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4994

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

Preview Lab → · Contrast checker → · Palette generator →

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