#2A3B9D#2A3B9D

#2A3B9D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.160 H 270.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2A3B9D
RGBrgb(42, 59, 157)
HSLhsl(231, 58%, 39%)
HSVhsv(231, 73%, 62%)
CMYKcmyk(73.2%, 62.4%, 0%, 38.4%)
CIE-LABlab(29.55, 28.17, -55.28)
CIE-LCHlch(29.55, 62.04, 297.00°)
OKLaboklab(40.37% 0.0001 -0.1596)
OKLCHoklch(40.37% 0.16 270)
XYZxyz(8.6025, 6.0536, 32.6068)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B9D #9D8C2A
analogous
#2A759D #2A3B9D #522A9D
triadic
#2A3B9D #9D2A3B #3B9D2A
tetradic
#2A3B9D #9D2A75 #9D8C2A #2A9D52
square
#2A3B9D #9D2A75 #9D8C2A #2A9D52
split-complementary
#2A3B9D #9D522A #759D2A
monochromatic
#10173C #1D296D #2A3B9D #3A4FCA #6A7AD7

Accessibility & contrast

On white

9.50
#2A3B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2A3B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B9D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B9D#FFFFFF#000000##FFFFFF
##2A3B9D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a3b9d;
/* rgb */ color: rgb(42, 59, 157);
/* oklch */ color: oklch(40.4% 0.160 270.0);
Tailwind
colors: {
  custom: {
    50: '#7470bb',
    500: '#2a3b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b9d;
$custom-light: #7470bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b9d",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 157
  },
  "hsl": {
    "h": 231.13,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.15962,
    "h": 270
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#2A3B9D
secondary
#BEB165
accent
#CA47E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2A3B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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