#2A3089#2A3089

#2A3089 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.146 H 273.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2A3089
RGBrgb(42, 48, 137)
HSLhsl(236, 53%, 35%)
HSVhsv(236, 69%, 54%)
CMYKcmyk(69.3%, 65%, 0%, 46.3%)
CIE-LABlab(24.99, 28.06, -50.43)
CIE-LCHlch(24.99, 57.71, 299.10°)
OKLaboklab(36.47% 0.0093 -0.1455)
OKLCHoklch(36.47% 0.146 273.7)
XYZxyz(6.5257, 4.4117, 24.1697)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3089 #89832A
analogous
#2A5F89 #2A3089 #542A89
triadic
#2A3089 #892A30 #30892A
tetradic
#2A3089 #892A5F #89832A #2A8954
square
#2A3089 #892A5F #89832A #2A8954
split-complementary
#2A3089 #89542A #5F892A
monochromatic
#0D0F2B #1C205A #2A3089 #3840B8 #5F66CE

Accessibility & contrast

On white

11.16
#2A3089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A3089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3089
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3089#FFFFFF#000000##FFFFFF
##2A30891.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a3089;
/* rgb */ color: rgb(42, 48, 137);
/* oklch */ color: oklch(36.5% 0.146 273.7);
Tailwind
colors: {
  custom: {
    50: '#7168ac',
    500: '#2a3089',
    950: '#000000',
  },
}
SCSS
$custom: #2a3089;
$custom-light: #7168ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3089",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 137
  },
  "hsl": {
    "h": 236.211,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36469,
    "c": 0.14579,
    "h": 273.7
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#2A3089
secondary
#B4AE5B
accent
#D34BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2A3089

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

Preview Lab → · Contrast checker → · Palette generator →

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