#2A3288#2A3288

#2A3288 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.142 H 273.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2A3288
RGBrgb(42, 50, 136)
HSLhsl(235, 53%, 35%)
HSVhsv(235, 69%, 53%)
CMYKcmyk(69.1%, 63.2%, 0%, 46.7%)
CIE-LABlab(25.41, 26.36, -49.11)
CIE-LCHlch(25.41, 55.74, 298.22°)
OKLaboklab(36.75% 0.0077 -0.1416)
OKLCHoklch(36.75% 0.142 273.1)
XYZxyz(6.5379, 4.5504, 23.8216)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3288 #88802A
analogous
#2A6188 #2A3288 #512A88
triadic
#2A3288 #882A32 #32882A
tetradic
#2A3288 #882A61 #88802A #2A8851
square
#2A3288 #882A61 #88802A #2A8851
split-complementary
#2A3288 #88512A #61882A
monochromatic
#0D102A #1C2159 #2A3288 #3843B7 #5F68CE

Accessibility & contrast

On white

10.99
#2A3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3288
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3288#FFFFFF#000000##FFFFFF
##2A32881.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a3288;
/* rgb */ color: rgb(42, 50, 136);
/* oklch */ color: oklch(36.8% 0.142 273.1);
Tailwind
colors: {
  custom: {
    50: '#706aab',
    500: '#2a3288',
    950: '#000000',
  },
}
SCSS
$custom: #2a3288;
$custom-light: #706aab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3288",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 234.894,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36754,
    "c": 0.14182,
    "h": 273.1
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#2A3288
secondary
#B3AC5B
accent
#D04CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3288

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

Preview Lab → · Contrast checker → · Palette generator →

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