#2A3389#2A3389

#2A3389 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.142 H 272.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2A3389
RGBrgb(42, 51, 137)
HSLhsl(234, 53%, 35%)
HSVhsv(234, 69%, 54%)
CMYKcmyk(69.3%, 62.8%, 0%, 46.3%)
CIE-LABlab(25.76, 26.06, -49.17)
CIE-LCHlch(25.76, 55.65, 297.92°)
OKLaboklab(37.04% 0.0068 -0.1418)
OKLCHoklch(37.04% 0.142 272.8)
XYZxyz(6.6525, 4.6654, 24.2120)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3389 #89802A
analogous
#2A6289 #2A3389 #512A89
triadic
#2A3389 #892A33 #33892A
tetradic
#2A3389 #892A62 #89802A #2A8951
square
#2A3389 #892A62 #89802A #2A8951
split-complementary
#2A3389 #89512A #62892A
monochromatic
#0D102B #1C225A #2A3389 #3844B8 #5F6ACE

Accessibility & contrast

On white

10.86
#2A3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3389
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3389#FFFFFF#000000##FFFFFF
##2A33891.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a3389;
/* rgb */ color: rgb(42, 51, 137);
/* oklch */ color: oklch(37.0% 0.142 272.8);
Tailwind
colors: {
  custom: {
    50: '#706aac',
    500: '#2a3389',
    950: '#000000',
  },
}
SCSS
$custom: #2a3389;
$custom-light: #706aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3389",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 234.316,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37036,
    "c": 0.14193,
    "h": 272.8
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#2A3389
secondary
#B4AB5B
accent
#CF4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3389

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

Preview Lab → · Contrast checker → · Palette generator →

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