#2A3E93#2A3E93

#2A3E93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.142 H 269.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2A3E93
RGBrgb(42, 62, 147)
HSLhsl(229, 56%, 37%)
HSVhsv(229, 71%, 58%)
CMYKcmyk(71.4%, 57.8%, 0%, 42.4%)
CIE-LABlab(29.52, 22.38, -49.22)
CIE-LCHlch(29.52, 54.07, 294.45°)
OKLaboklab(40.09% -0.0024 -0.1418)
OKLCHoklch(40.09% 0.142 269)
XYZxyz(7.9421, 6.0433, 28.3460)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E93 #937F2A
analogous
#2A7393 #2A3E93 #4A2A93
triadic
#2A3E93 #932A3E #3E932A
tetradic
#2A3E93 #932A73 #937F2A #2A934A
square
#2A3E93 #932A73 #937F2A #2A934A
split-complementary
#2A3E93 #934A2A #73932A
monochromatic
#0F1634 #1C2A63 #2A3E93 #3852C3 #657AD3

Accessibility & contrast

On white

9.51
#2A3E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3E93
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E93#FFFFFF#000000##FFFFFF
##2A3E931.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a3e93;
/* rgb */ color: rgb(42, 62, 147);
/* oklch */ color: oklch(40.1% 0.142 269.0);
Tailwind
colors: {
  custom: {
    50: '#7273b3',
    500: '#2a3e93',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e93;
$custom-light: #7273b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e93",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 228.571,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40091,
    "c": 0.14181,
    "h": 269
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#2A3E93
secondary
#B9A860
accent
#C249DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A3E93

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

Preview Lab → · Contrast checker → · Palette generator →

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