#2A3E9B#2A3E9B

#2A3E9B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.153 H 269.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2A3E9B
RGBrgb(42, 62, 155)
HSLhsl(229, 57%, 39%)
HSVhsv(229, 73%, 61%)
CMYKcmyk(72.9%, 60%, 0%, 39.2%)
CIE-LABlab(30.16, 25.41, -53.05)
CIE-LCHlch(30.16, 58.83, 295.59°)
OKLaboklab(40.77% -0.0022 -0.1531)
OKLCHoklch(40.77% 0.153 269.2)
XYZxyz(8.5918, 6.3032, 31.7678)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E9B #9B872A
analogous
#2A769B #2A3E9B #4F2A9B
triadic
#2A3E9B #9B2A3E #3E9B2A
tetradic
#2A3E9B #9B2A76 #9B872A #2A9B4F
square
#2A3E9B #9B2A76 #9B872A #2A9B4F
split-complementary
#2A3E9B #9B4F2A #769B2A
monochromatic
#10173B #1D2B6B #2A3E9B #3952C9 #697CD6

Accessibility & contrast

On white

9.29
#2A3E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A3E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E9B
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E9B#FFFFFF#000000##FFFFFF
##2A3E9B1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a3e9b;
/* rgb */ color: rgb(42, 62, 155);
/* oklch */ color: oklch(40.8% 0.153 269.2);
Tailwind
colors: {
  custom: {
    50: '#7473b9',
    500: '#2a3e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e9b;
$custom-light: #7473b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e9b",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 229.381,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.15308,
    "h": 269.2
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#2A3E9B
secondary
#BDAD64
accent
#C547E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A3E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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