#2A4492#2A4492

#2A4492 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.133 H 266.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2A4492
RGBrgb(42, 68, 146)
HSLhsl(225, 55%, 37%)
HSVhsv(225, 71%, 57%)
CMYKcmyk(71.2%, 53.4%, 0%, 42.7%)
CIE-LABlab(31.12, 17.92, -46.02)
CIE-LCHlch(31.12, 49.39, 291.28°)
OKLaboklab(41.27% -0.0077 -0.1323)
OKLCHoklch(41.27% 0.133 266.6)
XYZxyz(8.2085, 6.7010, 28.0494)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4492 #92782A
analogous
#2A7892 #2A4492 #442A92
triadic
#2A4492 #922A44 #44922A
tetradic
#2A4492 #922A78 #92782A #2A9244
square
#2A4492 #922A78 #92782A #2A9244
split-complementary
#2A4492 #92442A #78922A
monochromatic
#0F1833 #1C2E62 #2A4492 #385AC2 #6480D2

Accessibility & contrast

On white

8.97
#2A4492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A4492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4492
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4492#FFFFFF#000000##FFFFFF
##2A44921.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4492;
/* rgb */ color: rgb(42, 68, 146);
/* oklch */ color: oklch(41.3% 0.133 266.6);
Tailwind
colors: {
  custom: {
    50: '#7177b3',
    500: '#2a4492',
    950: '#000000',
  },
}
SCSS
$custom: #2a4492;
$custom-light: #7177b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4492",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 146
  },
  "hsl": {
    "h": 225,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.13252,
    "h": 266.6
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#2A4492
secondary
#B8A25F
accent
#B949DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A4492

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

Preview Lab → · Contrast checker → · Palette generator →

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