#2A3A92#2A3A92

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

Color values

HEX#2A3A92
RGBrgb(42, 58, 146)
HSLhsl(231, 55%, 37%)
HSVhsv(231, 71%, 57%)
CMYKcmyk(71.2%, 60.3%, 0%, 42.7%)
CIE-LABlab(28.36, 24.71, -50.49)
CIE-LCHlch(28.36, 56.21, 296.07°)
OKLaboklab(39.2% 0.0009 -0.1456)
OKLCHoklch(39.2% 0.146 270.4)
XYZxyz(7.6544, 5.5929, 27.8647)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A92 #92822A
analogous
#2A6E92 #2A3A92 #4E2A92
triadic
#2A3A92 #922A3A #3A922A
tetradic
#2A3A92 #922A6E #92822A #2A924E
square
#2A3A92 #922A6E #92822A #2A924E
split-complementary
#2A3A92 #924E2A #6E922A
monochromatic
#0F1433 #1C2762 #2A3A92 #384DC2 #6475D2

Accessibility & contrast

On white

9.91
#2A3A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2A3A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A92
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A92#FFFFFF#000000##FFFFFF
##2A3A921.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3a92;
/* rgb */ color: rgb(42, 58, 146);
/* oklch */ color: oklch(39.2% 0.146 270.4);
Tailwind
colors: {
  custom: {
    50: '#7270b3',
    500: '#2a3a92',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a92;
$custom-light: #7270b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a92",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 230.769,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.392,
    "c": 0.14558,
    "h": 270.4
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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