#2A3C92#2A3C92

#2A3C92 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.143 H 269.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2A3C92
RGBrgb(42, 60, 146)
HSLhsl(230, 55%, 37%)
HSVhsv(230, 71%, 57%)
CMYKcmyk(71.2%, 58.9%, 0%, 42.7%)
CIE-LABlab(28.90, 23.36, -49.62)
CIE-LCHlch(28.90, 54.84, 295.21°)
OKLaboklab(39.6% -0.0007 -0.143)
OKLCHoklch(39.6% 0.143 269.7)
XYZxyz(7.7572, 5.7985, 27.8990)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C92 #92802A
analogous
#2A7092 #2A3C92 #4C2A92
triadic
#2A3C92 #922A3C #3C922A
tetradic
#2A3C92 #922A70 #92802A #2A924C
square
#2A3C92 #922A70 #92802A #2A924C
split-complementary
#2A3C92 #924C2A #70922A
monochromatic
#0F1533 #1C2862 #2A3C92 #3850C2 #6477D2

Accessibility & contrast

On white

9.72
#2A3C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2A3C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3C92
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C92#FFFFFF#000000##FFFFFF
##2A3C921.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a3c92;
/* rgb */ color: rgb(42, 60, 146);
/* oklch */ color: oklch(39.6% 0.143 269.7);
Tailwind
colors: {
  custom: {
    50: '#7271b3',
    500: '#2a3c92',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c92;
$custom-light: #7271b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c92",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 229.615,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.396,
    "c": 0.14299,
    "h": 269.7
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#2A3C92
secondary
#B8A95F
accent
#C549DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3C92

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

Preview Lab → · Contrast checker → · Palette generator →

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