#2A3892#2A3892

#2A3892 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.148 H 271.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2A3892
RGBrgb(42, 56, 146)
HSLhsl(232, 55%, 37%)
HSVhsv(232, 71%, 57%)
CMYKcmyk(71.2%, 61.6%, 0%, 42.7%)
CIE-LABlab(27.83, 26.06, -51.35)
CIE-LCHlch(27.83, 57.59, 296.90°)
OKLaboklab(38.81% 0.0025 -0.1481)
OKLCHoklch(38.81% 0.148 271)
XYZxyz(7.5556, 5.3952, 27.8317)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3892 #92842A
analogous
#2A6C92 #2A3892 #502A92
triadic
#2A3892 #922A38 #38922A
tetradic
#2A3892 #922A6C #92842A #2A9250
square
#2A3892 #922A6C #92842A #2A9250
split-complementary
#2A3892 #92502A #6C922A
monochromatic
#0F1433 #1C2662 #2A3892 #384AC2 #6473D2

Accessibility & contrast

On white

10.10
#2A3892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A3892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3892
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3892#FFFFFF#000000##FFFFFF
##2A38921.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a3892;
/* rgb */ color: rgb(42, 56, 146);
/* oklch */ color: oklch(38.8% 0.148 271.0);
Tailwind
colors: {
  custom: {
    50: '#726eb3',
    500: '#2a3892',
    950: '#000000',
  },
}
SCSS
$custom: #2a3892;
$custom-light: #726eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3892",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 231.923,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38807,
    "c": 0.14816,
    "h": 271
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#2A3892
secondary
#B8AC5F
accent
#CB49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3892

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

Preview Lab → · Contrast checker → · Palette generator →

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