#2A3385#2A3385

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

Color values

HEX#2A3385
RGBrgb(42, 51, 133)
HSLhsl(234, 52%, 34%)
HSVhsv(234, 68%, 52%)
CMYKcmyk(68.4%, 61.7%, 0%, 47.8%)
CIE-LABlab(25.42, 24.57, -47.23)
CIE-LCHlch(25.42, 53.23, 297.49°)
OKLaboklab(36.68% 0.0069 -0.1361)
OKLCHoklch(36.68% 0.136 272.9)
XYZxyz(6.3709, 4.5528, 22.7288)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3385 #857C2A
analogous
#2A6185 #2A3385 #4F2A85
triadic
#2A3385 #852A33 #33852A
tetradic
#2A3385 #852A61 #857C2A #2A854F
square
#2A3385 #852A61 #857C2A #2A854F
split-complementary
#2A3385 #854F2A #61852A
monochromatic
#0D0F28 #1B2156 #2A3385 #3945B4 #5D68CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A3385#FFFFFF#000000##FFFFFF
##2A33851.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)
#004088
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a3385;
/* rgb */ color: rgb(42, 51, 133);
/* oklch */ color: oklch(36.7% 0.136 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f6aa9',
    500: '#2a3385',
    950: '#000000',
  },
}
SCSS
$custom: #2a3385;
$custom-light: #6f6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3385",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 234.066,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.13624,
    "h": 272.9
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#2A3385
secondary
#B2A959
accent
#CD4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3385

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

Preview Lab → · Contrast checker → · Palette generator →

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