#2A3D91#2A3D91

#2A3D91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.140 H 269.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2A3D91
RGBrgb(42, 61, 145)
HSLhsl(229, 55%, 37%)
HSVhsv(229, 71%, 57%)
CMYKcmyk(71%, 57.9%, 0%, 43.1%)
CIE-LABlab(29.09, 22.30, -48.69)
CIE-LCHlch(29.09, 53.56, 294.61°)
OKLaboklab(39.72% -0.0016 -0.1403)
OKLCHoklch(39.72% 0.14 269.3)
XYZxyz(7.7327, 5.8733, 27.5087)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D91 #917E2A
analogous
#2A7191 #2A3D91 #4B2A91
triadic
#2A3D91 #912A3D #3D912A
tetradic
#2A3D91 #912A71 #917E2A #2A914B
square
#2A3D91 #912A71 #917E2A #2A914B
split-complementary
#2A3D91 #914B2A #71912A
monochromatic
#0F1532 #1C2962 #2A3D91 #3851C0 #6378D2

Accessibility & contrast

On white

9.66
#2A3D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A3D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D91
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D91#FFFFFF#000000##FFFFFF
##2A3D911.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a3d91;
/* rgb */ color: rgb(42, 61, 145);
/* oklch */ color: oklch(39.7% 0.140 269.3);
Tailwind
colors: {
  custom: {
    50: '#7172b2',
    500: '#2a3d91',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d91;
$custom-light: #7172b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d91",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 228.932,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.14026,
    "h": 269.3
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#2A3D91
secondary
#B8A85F
accent
#C349DE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3D91

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

Preview Lab → · Contrast checker → · Palette generator →

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