#2A4D92#2A4D92

#2A4D92 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.121 H 262.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2A4D92
RGBrgb(42, 77, 146)
HSLhsl(220, 55%, 37%)
HSVhsv(220, 71%, 57%)
CMYKcmyk(71.2%, 47.3%, 0%, 42.7%)
CIE-LABlab(33.72, 11.84, -41.83)
CIE-LCHlch(33.72, 43.47, 285.81°)
OKLaboklab(43.26% -0.0162 -0.1198)
OKLCHoklch(43.26% 0.121 262.3)
XYZxyz(8.7952, 7.8744, 28.2450)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D92 #926F2A
analogous
#2A8192 #2A4D92 #3B2A92
triadic
#2A4D92 #922A4D #4D922A
tetradic
#2A4D92 #922A81 #926F2A #2A923B
square
#2A4D92 #922A81 #926F2A #2A923B
split-complementary
#2A4D92 #923B2A #81922A
monochromatic
#0F1B33 #1C3462 #2A4D92 #3866C2 #6489D2

Accessibility & contrast

On white

8.16
#2A4D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2A4D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D92
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D92#FFFFFF#000000##FFFFFF
##2A4D921.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5495
Deuteranopia (green-blind)
#144B91
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a4d92;
/* rgb */ color: rgb(42, 77, 146);
/* oklch */ color: oklch(43.3% 0.121 262.3);
Tailwind
colors: {
  custom: {
    50: '#717eb2',
    500: '#2a4d92',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d92;
$custom-light: #717eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d92",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 219.808,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.12089,
    "h": 262.3
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#2A4D92
secondary
#B89A5F
accent
#AC49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #2A4D92

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

Preview Lab → · Contrast checker → · Palette generator →

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