#2A3A93#2A3A93

#2A3A93 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.147 H 270.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2A3A93
RGBrgb(42, 58, 147)
HSLhsl(231, 56%, 37%)
HSVhsv(231, 71%, 58%)
CMYKcmyk(71.4%, 60.5%, 0%, 42.4%)
CIE-LABlab(28.44, 25.09, -50.97)
CIE-LCHlch(28.44, 56.81, 296.20°)
OKLaboklab(39.29% 0.0009 -0.147)
OKLCHoklch(39.29% 0.147 270.4)
XYZxyz(7.7326, 5.6242, 28.2762)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A93 #93832A
analogous
#2A6F93 #2A3A93 #4E2A93
triadic
#2A3A93 #932A3A #3A932A
tetradic
#2A3A93 #932A6F #93832A #2A934E
square
#2A3A93 #932A6F #93832A #2A934E
split-complementary
#2A3A93 #934E2A #6F932A
monochromatic
#0F1434 #1C2763 #2A3A93 #384DC3 #6575D3

Accessibility & contrast

On white

9.88
#2A3A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2A3A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A93
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A93#FFFFFF#000000##FFFFFF
##2A3A931.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a3a93;
/* rgb */ color: rgb(42, 58, 147);
/* oklch */ color: oklch(39.3% 0.147 270.4);
Tailwind
colors: {
  custom: {
    50: '#7270b3',
    500: '#2a3a93',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a93;
$custom-light: #7270b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a93",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 230.857,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39287,
    "c": 0.14699,
    "h": 270.4
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#2A3A93
secondary
#B9AB60
accent
#C849DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3A93

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

Preview Lab → · Contrast checker → · Palette generator →

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