#2A4692#2A4692

#2A4692 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.130 H 265.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2A4692
RGBrgb(42, 70, 146)
HSLhsl(224, 55%, 37%)
HSVhsv(224, 71%, 57%)
CMYKcmyk(71.2%, 52.1%, 0%, 42.7%)
CIE-LABlab(31.69, 16.57, -45.10)
CIE-LCHlch(31.69, 48.05, 290.17°)
OKLaboklab(41.7% -0.0096 -0.1295)
OKLCHoklch(41.7% 0.13 265.8)
XYZxyz(8.3315, 6.9470, 28.0904)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4692 #92762A
analogous
#2A7A92 #2A4692 #422A92
triadic
#2A4692 #922A46 #46922A
tetradic
#2A4692 #922A7A #92762A #2A9242
square
#2A4692 #922A7A #92762A #2A9242
split-complementary
#2A4692 #92422A #7A922A
monochromatic
#0F1833 #1C2F62 #2A4692 #385DC2 #6482D2

Accessibility & contrast

On white

8.79
#2A4692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A4692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4692
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4692#FFFFFF#000000##FFFFFF
##2A46921.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185095
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4692;
/* rgb */ color: rgb(42, 70, 146);
/* oklch */ color: oklch(41.7% 0.130 265.8);
Tailwind
colors: {
  custom: {
    50: '#7179b2',
    500: '#2a4692',
    950: '#000000',
  },
}
SCSS
$custom: #2a4692;
$custom-light: #7179b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4692",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 146
  },
  "hsl": {
    "h": 223.846,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.1299,
    "h": 265.8
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#2A4692
secondary
#B8A05F
accent
#B649DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4692

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

Preview Lab → · Contrast checker → · Palette generator →

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