#2A4592#2A4592

#2A4592 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.131 H 266.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2A4592
RGBrgb(42, 69, 146)
HSLhsl(224, 55%, 37%)
HSVhsv(224, 71%, 57%)
CMYKcmyk(71.2%, 52.7%, 0%, 42.7%)
CIE-LABlab(31.40, 17.24, -45.56)
CIE-LCHlch(31.40, 48.72, 290.73°)
OKLaboklab(41.48% -0.0087 -0.1309)
OKLCHoklch(41.48% 0.131 266.2)
XYZxyz(8.2695, 6.8230, 28.0697)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4592 #92772A
analogous
#2A7992 #2A4592 #432A92
triadic
#2A4592 #922A45 #45922A
tetradic
#2A4592 #922A79 #92772A #2A9243
square
#2A4592 #922A79 #92772A #2A9243
split-complementary
#2A4592 #92432A #79922A
monochromatic
#0F1833 #1C2F62 #2A4592 #385BC2 #6481D2

Accessibility & contrast

On white

8.88
#2A4592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A4592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4592
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4592#FFFFFF#000000##FFFFFF
##2A45921.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4592;
/* rgb */ color: rgb(42, 69, 146);
/* oklch */ color: oklch(41.5% 0.131 266.2);
Tailwind
colors: {
  custom: {
    50: '#7178b2',
    500: '#2a4592',
    950: '#000000',
  },
}
SCSS
$custom: #2a4592;
$custom-light: #7178b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4592",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 146
  },
  "hsl": {
    "h": 224.423,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.13121,
    "h": 266.2
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#2A4592
secondary
#B8A15F
accent
#B849DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4592

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

Preview Lab → · Contrast checker → · Palette generator →

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