#2A3575#2A3575

#2A3575 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.8% C 0.110 H 272.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2A3575
RGBrgb(42, 53, 117)
HSLhsl(231, 47%, 31%)
HSVhsv(231, 64%, 46%)
CMYKcmyk(64.1%, 54.7%, 0%, 54.1%)
CIE-LABlab(24.71, 17.19, -38.29)
CIE-LCHlch(24.71, 41.97, 294.18°)
OKLaboklab(35.75% 0.0044 -0.1097)
OKLCHoklch(35.75% 0.11 272.3)
XYZxyz(5.4378, 4.3224, 17.3739)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3575 #756A2A
analogous
#2A5A75 #2A3575 #442A75
triadic
#2A3575 #752A35 #35752A
tetradic
#2A3575 #752A5A #756A2A #2A7544
square
#2A3575 #752A5A #756A2A #2A7544
split-complementary
#2A3575 #75442A #5A752A
monochromatic
#0A0C1B #1A2148 #2A3575 #3A49A2 #5767C3

Accessibility & contrast

On white

11.26
#2A3575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A3575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3575
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3575#FFFFFF#000000##FFFFFF
##2A35751.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3E77
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a3575;
/* rgb */ color: rgb(42, 53, 117);
/* oklch */ color: oklch(35.8% 0.110 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c6c9d',
    500: '#2a3575',
    950: '#000000',
  },
}
SCSS
$custom: #2a3575;
$custom-light: #6c6c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3575",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 117
  },
  "hsl": {
    "h": 231.2,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3575,
    "c": 0.10984,
    "h": 272.3
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#2A3575
secondary
#A79B54
accent
#C351D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A3575

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

Preview Lab → · Contrast checker → · Palette generator →

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