#2A3B89#2A3B89

#2A3B89 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.131 H 269.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2A3B89
RGBrgb(42, 59, 137)
HSLhsl(229, 53%, 35%)
HSVhsv(229, 69%, 54%)
CMYKcmyk(69.3%, 56.9%, 0%, 46.3%)
CIE-LABlab(27.91, 20.62, -45.66)
CIE-LCHlch(27.91, 50.10, 294.30°)
OKLaboklab(38.64% -0.0002 -0.1314)
OKLCHoklch(38.64% 0.131 269.9)
XYZxyz(7.0326, 5.4256, 24.3387)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B89 #89782A
analogous
#2A6B89 #2A3B89 #482A89
triadic
#2A3B89 #892A3B #3B892A
tetradic
#2A3B89 #892A6B #89782A #2A8948
square
#2A3B89 #892A6B #89782A #2A8948
split-complementary
#2A3B89 #89482A #6B892A
monochromatic
#0D132B #1C275A #2A3B89 #384FB8 #5F73CE

Accessibility & contrast

On white

10.07
#2A3B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A3B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B89
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B89#FFFFFF#000000##FFFFFF
##2A3B891.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a3b89;
/* rgb */ color: rgb(42, 59, 137);
/* oklch */ color: oklch(38.6% 0.131 269.9);
Tailwind
colors: {
  custom: {
    50: '#7070ac',
    500: '#2a3b89',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b89;
$custom-light: #7070ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b89",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 229.263,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3864,
    "c": 0.13137,
    "h": 269.9
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#2A3B89
secondary
#B4A45B
accent
#C34BDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3B89

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

Preview Lab → · Contrast checker → · Palette generator →

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