#2A3688#2A3688

#2A3688 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.137 H 271.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2A3688
RGBrgb(42, 54, 136)
HSLhsl(232, 53%, 35%)
HSVhsv(232, 69%, 53%)
CMYKcmyk(69.1%, 60.3%, 0%, 46.7%)
CIE-LABlab(26.47, 23.66, -47.39)
CIE-LCHlch(26.47, 52.97, 296.53°)
OKLaboklab(37.54% 0.0043 -0.1365)
OKLCHoklch(37.54% 0.137 271.8)
XYZxyz(6.7164, 4.9075, 23.8811)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3688 #887C2A
analogous
#2A6588 #2A3688 #4D2A88
triadic
#2A3688 #882A36 #36882A
tetradic
#2A3688 #882A65 #887C2A #2A884D
square
#2A3688 #882A65 #887C2A #2A884D
split-complementary
#2A3688 #884D2A #65882A
monochromatic
#0D112A #1C2359 #2A3688 #3849B7 #5F6DCE

Accessibility & contrast

On white

10.60
#2A3688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A3688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3688
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3688#FFFFFF#000000##FFFFFF
##2A36881.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a3688;
/* rgb */ color: rgb(42, 54, 136);
/* oklch */ color: oklch(37.5% 0.137 271.8);
Tailwind
colors: {
  custom: {
    50: '#706cab',
    500: '#2a3688',
    950: '#000000',
  },
}
SCSS
$custom: #2a3688;
$custom-light: #706cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3688",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 232.34,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.13658,
    "h": 271.8
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#2A3688
secondary
#B3A85B
accent
#CA4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3688

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

Preview Lab → · Contrast checker → · Palette generator →

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