#2A3C85#2A3C85

#2A3C85 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.124 H 269.3°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2A3C85
RGBrgb(42, 60, 133)
HSLhsl(228, 52%, 34%)
HSVhsv(228, 68%, 52%)
CMYKcmyk(68.4%, 54.9%, 0%, 47.8%)
CIE-LABlab(27.89, 18.41, -43.22)
CIE-LCHlch(27.89, 46.98, 293.08°)
OKLaboklab(38.53% -0.0014 -0.1242)
OKLCHoklch(38.53% 0.124 269.3)
XYZxyz(6.8029, 5.4168, 22.8728)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C85 #85732A
analogous
#2A6A85 #2A3C85 #462A85
triadic
#2A3C85 #852A3C #3C852A
tetradic
#2A3C85 #852A6A #85732A #2A8546
square
#2A3C85 #852A6A #85732A #2A8546
split-complementary
#2A3C85 #85462A #6A852A
monochromatic
#0D1228 #1B2756 #2A3C85 #3951B4 #5D73CC

Accessibility & contrast

On white

10.08
#2A3C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A3C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3C85
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C85#FFFFFF#000000##FFFFFF
##2A3C851.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4688
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a3c85;
/* rgb */ color: rgb(42, 60, 133);
/* oklch */ color: oklch(38.5% 0.124 269.3);
Tailwind
colors: {
  custom: {
    50: '#6f71a9',
    500: '#2a3c85',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c85;
$custom-light: #6f71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c85",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 228.132,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38526,
    "c": 0.12417,
    "h": 269.3
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#2A3C85
secondary
#B2A059
accent
#BF4CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3C85

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

Preview Lab → · Contrast checker → · Palette generator →

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