#2A3B91#2A3B91

#2A3B91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.143 H 270.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2A3B91
RGBrgb(42, 59, 145)
HSLhsl(230, 55%, 37%)
HSVhsv(230, 71%, 57%)
CMYKcmyk(71%, 59.3%, 0%, 43.1%)
CIE-LABlab(28.55, 23.65, -49.57)
CIE-LCHlch(28.55, 54.93, 295.51°)
OKLaboklab(39.31% 0.0001 -0.1429)
OKLCHoklch(39.31% 0.143 270)
XYZxyz(7.6279, 5.6638, 27.4738)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B91 #91802A
analogous
#2A6F91 #2A3B91 #4D2A91
triadic
#2A3B91 #912A3B #3B912A
tetradic
#2A3B91 #912A6F #91802A #2A914D
square
#2A3B91 #912A6F #91802A #2A914D
split-complementary
#2A3B91 #914D2A #6F912A
monochromatic
#0F1432 #1C2862 #2A3B91 #384EC0 #6376D2

Accessibility & contrast

On white

9.85
#2A3B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3B91
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B91#FFFFFF#000000##FFFFFF
##2A3B911.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3b91;
/* rgb */ color: rgb(42, 59, 145);
/* oklch */ color: oklch(39.3% 0.143 270.0);
Tailwind
colors: {
  custom: {
    50: '#7270b2',
    500: '#2a3b91',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b91;
$custom-light: #7270b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b91",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 230.097,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.14287,
    "h": 270
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3B91

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

Preview Lab → · Contrast checker → · Palette generator →

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