#2A3578#2A3578

#2A3578 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.114 H 272.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2A3578
RGBrgb(42, 53, 120)
HSLhsl(232, 48%, 32%)
HSVhsv(232, 65%, 47%)
CMYKcmyk(65%, 55.8%, 0%, 52.9%)
CIE-LABlab(24.93, 18.32, -39.83)
CIE-LCHlch(24.93, 43.84, 294.70°)
OKLaboklab(35.99% 0.0047 -0.1143)
OKLCHoklch(35.99% 0.114 272.3)
XYZxyz(5.6170, 4.3940, 18.3178)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3578 #786D2A
analogous
#2A5C78 #2A3578 #462A78
triadic
#2A3578 #782A35 #35782A
tetradic
#2A3578 #782A5C #786D2A #2A7846
square
#2A3578 #782A5C #786D2A #2A7846
split-complementary
#2A3578 #78462A #5C782A
monochromatic
#0A0D1D #1A214B #2A3578 #3A49A5 #5867C5

Accessibility & contrast

On white

11.18
#2A3578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2A3578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3578
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3578#FFFFFF#000000##FFFFFF
##2A35781.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a3578;
/* rgb */ color: rgb(42, 53, 120);
/* oklch */ color: oklch(36.0% 0.114 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c6c9f',
    500: '#2a3578',
    950: '#000000',
  },
}
SCSS
$custom: #2a3578;
$custom-light: #6c6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3578",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 120
  },
  "hsl": {
    "h": 231.538,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3599,
    "c": 0.1144,
    "h": 272.3
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#2A3578
secondary
#AA9E54
accent
#C550D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #2A3578

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

Preview Lab → · Contrast checker → · Palette generator →

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