#2A3E91#2A3E91

#2A3E91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.139 H 269.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2A3E91
RGBrgb(42, 62, 145)
HSLhsl(228, 55%, 37%)
HSVhsv(228, 71%, 57%)
CMYKcmyk(71%, 57.2%, 0%, 43.1%)
CIE-LABlab(29.36, 21.62, -48.25)
CIE-LCHlch(29.36, 52.87, 294.14°)
OKLaboklab(39.92% -0.0025 -0.1389)
OKLCHoklch(39.92% 0.139 269)
XYZxyz(7.7865, 5.9811, 27.5267)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E91 #917D2A
analogous
#2A7291 #2A3E91 #4A2A91
triadic
#2A3E91 #912A3E #3E912A
tetradic
#2A3E91 #912A72 #917D2A #2A914A
square
#2A3E91 #912A72 #917D2A #2A914A
split-complementary
#2A3E91 #914A2A #72912A
monochromatic
#0F1532 #1C2A62 #2A3E91 #3852C0 #6379D2

Accessibility & contrast

On white

9.56
#2A3E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A3E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E91
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E91#FFFFFF#000000##FFFFFF
##2A3E911.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a3e91;
/* rgb */ color: rgb(42, 62, 145);
/* oklch */ color: oklch(39.9% 0.139 269.0);
Tailwind
colors: {
  custom: {
    50: '#7172b2',
    500: '#2a3e91',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e91;
$custom-light: #7172b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e91",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 228.35,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39924,
    "c": 0.13895,
    "h": 269
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#2A3E91
secondary
#B8A75F
accent
#C149DE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A3E91

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

Preview Lab → · Contrast checker → · Palette generator →

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