#2A4C9D#2A4C9D

#2A4C9D is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.138 H 264.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2A4C9D
RGBrgb(42, 76, 157)
HSLhsl(222, 58%, 39%)
HSVhsv(222, 73%, 62%)
CMYKcmyk(73.2%, 51.6%, 0%, 38.4%)
CIE-LABlab(34.18, 16.75, -47.76)
CIE-LCHlch(34.18, 50.61, 289.33°)
OKLaboklab(43.85% -0.0137 -0.1372)
OKLCHoklch(43.85% 0.138 264.3)
XYZxyz(9.6229, 8.0944, 32.9470)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C9D #9D7B2A
analogous
#2A869D #2A4C9D #422A9D
triadic
#2A4C9D #9D2A4C #4C9D2A
tetradic
#2A4C9D #9D2A86 #9D7B2A #2A9D42
square
#2A4C9D #9D2A86 #9D7B2A #2A9D42
split-complementary
#2A4C9D #9D422A #869D2A
monochromatic
#101D3C #1D356D #2A4C9D #3A65CA #6A8AD7

Accessibility & contrast

On white

8.02
#2A4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2A4C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C9D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C9D#FFFFFF#000000##FFFFFF
##2A4C9D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4c9d;
/* rgb */ color: rgb(42, 76, 157);
/* oklch */ color: oklch(43.8% 0.138 264.3);
Tailwind
colors: {
  custom: {
    50: '#737dba',
    500: '#2a4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c9d;
$custom-light: #737dba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c9d",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 222.261,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.13793,
    "h": 264.3
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#2A4C9D
secondary
#BEA465
accent
#B347E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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