#2A4894#2A4894

#2A4894 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.130 H 265.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2A4894
RGBrgb(42, 72, 148)
HSLhsl(223, 56%, 37%)
HSVhsv(223, 72%, 58%)
CMYKcmyk(71.6%, 51.4%, 0%, 42%)
CIE-LABlab(32.40, 15.98, -45.17)
CIE-LCHlch(32.40, 47.91, 289.48°)
OKLaboklab(42.29% -0.0112 -0.1297)
OKLCHoklch(42.29% 0.13 265.1)
XYZxyz(8.6156, 7.2642, 28.9593)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4894 #94762A
analogous
#2A7D94 #2A4894 #412A94
triadic
#2A4894 #942A48 #48942A
tetradic
#2A4894 #942A7D #94762A #2A9441
square
#2A4894 #942A7D #94762A #2A9441
split-complementary
#2A4894 #94412A #7D942A
monochromatic
#0F1A35 #1C3164 #2A4894 #385FC4 #6584D3

Accessibility & contrast

On white

8.56
#2A4894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2A4894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4894
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4894#FFFFFF#000000##FFFFFF
##2A48941.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5197
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4894;
/* rgb */ color: rgb(42, 72, 148);
/* oklch */ color: oklch(42.3% 0.130 265.1);
Tailwind
colors: {
  custom: {
    50: '#717ab4',
    500: '#2a4894',
    950: '#000000',
  },
}
SCSS
$custom: #2a4894;
$custom-light: #717ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4894",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 223.019,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.13019,
    "h": 265.1
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#2A4894
secondary
#B9A060
accent
#B549DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4894

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

Preview Lab → · Contrast checker → · Palette generator →

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