#2A3890#2A3890

#2A3890 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.145 H 271.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2A3890
RGBrgb(42, 56, 144)
HSLhsl(232, 55%, 36%)
HSVhsv(232, 71%, 56%)
CMYKcmyk(70.8%, 61.1%, 0%, 43.5%)
CIE-LABlab(27.66, 25.31, -50.40)
CIE-LCHlch(27.66, 56.39, 296.66°)
OKLaboklab(38.63% 0.0026 -0.1453)
OKLCHoklch(38.63% 0.145 271)
XYZxyz(7.4014, 5.3335, 27.0196)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3890 #90822A
analogous
#2A6B90 #2A3890 #4F2A90
triadic
#2A3890 #902A38 #38902A
tetradic
#2A3890 #902A6B #90822A #2A904F
square
#2A3890 #902A6B #90822A #2A904F
split-complementary
#2A3890 #904F2A #6B902A
monochromatic
#0E1331 #1C2661 #2A3890 #384ABF #6372D1

Accessibility & contrast

On white

10.16
#2A3890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2A3890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3890
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3890#FFFFFF#000000##FFFFFF
##2A38901.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a3890;
/* rgb */ color: rgb(42, 56, 144);
/* oklch */ color: oklch(38.6% 0.145 271.0);
Tailwind
colors: {
  custom: {
    50: '#726eb1',
    500: '#2a3890',
    950: '#000000',
  },
}
SCSS
$custom: #2a3890;
$custom-light: #726eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3890",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 144
  },
  "hsl": {
    "h": 231.765,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38631,
    "c": 0.14534,
    "h": 271
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#2A3890
secondary
#B7AB5E
accent
#CA4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3890

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

Preview Lab → · Contrast checker → · Palette generator →

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