#2A3E9E#2A3E9E

#2A3E9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.157 H 269.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2A3E9E
RGBrgb(42, 62, 158)
HSLhsl(230, 58%, 39%)
HSVhsv(230, 73%, 62%)
CMYKcmyk(73.4%, 60.8%, 0%, 38%)
CIE-LABlab(30.41, 26.54, -54.47)
CIE-LCHlch(30.41, 60.59, 295.98°)
OKLaboklab(41.04% -0.0022 -0.1572)
OKLCHoklch(41.04% 0.157 269.2)
XYZxyz(8.8469, 6.4052, 33.1112)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E9E #9E8A2A
analogous
#2A789E #2A3E9E #502A9E
triadic
#2A3E9E #9E2A3E #3E9E2A
tetradic
#2A3E9E #9E2A78 #9E8A2A #2A9E50
square
#2A3E9E #9E2A78 #9E8A2A #2A9E50
split-complementary
#2A3E9E #9E502A #789E2A
monochromatic
#10183D #1D2B6E #2A3E9E #3A53CB #6B7ED8

Accessibility & contrast

On white

9.21
#2A3E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A3E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E9E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E9E#FFFFFF#000000##FFFFFF
##2A3E9E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3e9e;
/* rgb */ color: rgb(42, 62, 158);
/* oklch */ color: oklch(41.0% 0.157 269.2);
Tailwind
colors: {
  custom: {
    50: '#7473bb',
    500: '#2a3e9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e9e;
$custom-light: #7473bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e9e",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 229.655,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41035,
    "c": 0.15724,
    "h": 269.2
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#2A3E9E
secondary
#BEAF66
accent
#C747E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A3E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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