#2A3473#2A3473

#2A3473 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.108 H 272.8°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2A3473
RGBrgb(42, 52, 115)
HSLhsl(232, 46%, 31%)
HSVhsv(232, 63%, 45%)
CMYKcmyk(63.5%, 54.8%, 0%, 54.9%)
CIE-LABlab(24.28, 17.13, -37.71)
CIE-LCHlch(24.28, 41.42, 294.43°)
OKLaboklab(35.38% 0.0054 -0.1081)
OKLCHoklch(35.38% 0.108 272.8)
XYZxyz(5.2763, 4.1856, 16.7462)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3473 #73692A
analogous
#2A5873 #2A3473 #442A73
triadic
#2A3473 #732A34 #34732A
tetradic
#2A3473 #732A58 #73692A #2A7344
square
#2A3473 #732A58 #73692A #2A7344
split-complementary
#2A3473 #73442A #58732A
monochromatic
#090B19 #1A2046 #2A3473 #3A48A0 #5665C1

Accessibility & contrast

On white

11.43
#2A3473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A3473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3473
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3473#FFFFFF#000000##FFFFFF
##2A34731.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D75
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a3473;
/* rgb */ color: rgb(42, 52, 115);
/* oklch */ color: oklch(35.4% 0.108 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b6b9c',
    500: '#2a3473',
    950: '#000000',
  },
}
SCSS
$custom: #2a3473;
$custom-light: #6b6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3473",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 115
  },
  "hsl": {
    "h": 231.781,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35376,
    "c": 0.10821,
    "h": 272.8
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#2A3473
secondary
#A59A54
accent
#C452D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2A3473

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

Preview Lab → · Contrast checker → · Palette generator →

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