#2A3585#2A3585

#2A3585 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.134 H 272.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2A3585
RGBrgb(42, 53, 133)
HSLhsl(233, 52%, 34%)
HSVhsv(233, 68%, 52%)
CMYKcmyk(68.4%, 60.2%, 0%, 47.8%)
CIE-LABlab(25.96, 23.21, -46.36)
CIE-LCHlch(25.96, 51.84, 296.60°)
OKLaboklab(37.08% 0.0051 -0.1335)
OKLCHoklch(37.08% 0.134 272.2)
XYZxyz(6.4602, 4.7313, 22.7585)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3585 #857A2A
analogous
#2A6385 #2A3585 #4D2A85
triadic
#2A3585 #852A35 #35852A
tetradic
#2A3585 #852A63 #857A2A #2A854D
square
#2A3585 #852A63 #857A2A #2A854D
split-complementary
#2A3585 #854D2A #63852A
monochromatic
#0D1028 #1B2256 #2A3585 #3948B4 #5D6BCC

Accessibility & contrast

On white

10.79
#2A3585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A3585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3585
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3585#FFFFFF#000000##FFFFFF
##2A35851.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a3585;
/* rgb */ color: rgb(42, 53, 133);
/* oklch */ color: oklch(37.1% 0.134 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ca9',
    500: '#2a3585',
    950: '#000000',
  },
}
SCSS
$custom: #2a3585;
$custom-light: #6f6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3585",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 232.747,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37076,
    "c": 0.13358,
    "h": 272.2
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#2A3585
secondary
#B2A759
accent
#CA4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3585

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

Preview Lab → · Contrast checker → · Palette generator →

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