#2A4491#2A4491

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

Color values

HEX#2A4491
RGBrgb(42, 68, 145)
HSLhsl(225, 55%, 37%)
HSVhsv(225, 71%, 57%)
CMYKcmyk(71%, 53.1%, 0%, 43.1%)
CIE-LABlab(31.04, 17.54, -45.53)
CIE-LCHlch(31.04, 48.79, 291.07°)
OKLaboklab(41.19% -0.0078 -0.1308)
OKLCHoklch(41.19% 0.131 266.6)
XYZxyz(8.1310, 6.6700, 27.6415)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4491 #91772A
analogous
#2A7891 #2A4491 #442A91
triadic
#2A4491 #912A44 #44912A
tetradic
#2A4491 #912A78 #91772A #2A9144
square
#2A4491 #912A78 #91772A #2A9144
split-complementary
#2A4491 #91442A #78912A
monochromatic
#0F1732 #1C2E62 #2A4491 #385AC0 #637FD2

Accessibility & contrast

On white

9.00
#2A4491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A4491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4491
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4491#FFFFFF#000000##FFFFFF
##2A44911.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134E94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4491;
/* rgb */ color: rgb(42, 68, 145);
/* oklch */ color: oklch(41.2% 0.131 266.6);
Tailwind
colors: {
  custom: {
    50: '#7177b2',
    500: '#2a4491',
    950: '#000000',
  },
}
SCSS
$custom: #2a4491;
$custom-light: #7177b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4491",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 145
  },
  "hsl": {
    "h": 224.854,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4119,
    "c": 0.13108,
    "h": 266.6
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4491

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

Preview Lab → · Contrast checker → · Palette generator →

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