#2A4A9D#2A4A9D

#2A4A9D is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.140 H 265.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2A4A9D
RGBrgb(42, 74, 157)
HSLhsl(223, 58%, 39%)
HSVhsv(223, 73%, 62%)
CMYKcmyk(73.2%, 52.9%, 0%, 38.4%)
CIE-LABlab(33.61, 18.09, -48.67)
CIE-LCHlch(33.61, 51.93, 290.39°)
OKLaboklab(43.41% -0.0119 -0.14)
OKLCHoklch(43.41% 0.14 265.1)
XYZxyz(9.4873, 7.8231, 32.9018)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A9D #9D7D2A
analogous
#2A849D #2A4A9D #432A9D
triadic
#2A4A9D #9D2A4A #4A9D2A
tetradic
#2A4A9D #9D2A84 #9D7D2A #2A9D43
square
#2A4A9D #9D2A84 #9D7D2A #2A9D43
split-complementary
#2A4A9D #9D432A #849D2A
monochromatic
#101C3C #1D336D #2A4A9D #3A62CA #6A89D7

Accessibility & contrast

On white

8.19
#2A4A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2A4A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A9D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A9D#FFFFFF#000000##FFFFFF
##2A4A9D1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a4a9d;
/* rgb */ color: rgb(42, 74, 157);
/* oklch */ color: oklch(43.4% 0.140 265.1);
Tailwind
colors: {
  custom: {
    50: '#737cba',
    500: '#2a4a9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a9d;
$custom-light: #737cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a9d",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 223.304,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43414,
    "c": 0.14049,
    "h": 265.1
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#2A4A9D
secondary
#BEA565
accent
#B647E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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