#2A3672#2A3672

#2A3672 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.104 H 271.7°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2A3672
RGBrgb(42, 54, 114)
HSLhsl(230, 46%, 31%)
HSVhsv(230, 63%, 45%)
CMYKcmyk(63.2%, 52.6%, 0%, 55.3%)
CIE-LABlab(24.78, 15.37, -36.26)
CIE-LCHlch(24.78, 39.38, 292.96°)
OKLaboklab(35.73% 0.0031 -0.1038)
OKLCHoklch(35.73% 0.104 271.7)
XYZxyz(5.3103, 4.3451, 16.4752)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3672 #72662A
analogous
#2A5A72 #2A3672 #422A72
triadic
#2A3672 #722A36 #36722A
tetradic
#2A3672 #722A5A #72662A #2A7242
square
#2A3672 #722A5A #72662A #2A7242
split-complementary
#2A3672 #72422A #5A722A
monochromatic
#090C19 #1A2145 #2A3672 #3A4B9F #5668C1

Accessibility & contrast

On white

11.24
#2A3672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A3672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3672
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3672#FFFFFF#000000##FFFFFF
##2A36721.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E74
Deuteranopia (green-blind)
#063871
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a3672;
/* rgb */ color: rgb(42, 54, 114);
/* oklch */ color: oklch(35.7% 0.104 271.7);
Tailwind
colors: {
  custom: {
    50: '#6b6c9b',
    500: '#2a3672',
    950: '#000000',
  },
}
SCSS
$custom: #2a3672;
$custom-light: #6b6c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3672",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 114
  },
  "hsl": {
    "h": 230,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35734,
    "c": 0.10382,
    "h": 271.7
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#2A3672
secondary
#A49754
accent
#C052D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2A3672

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

Preview Lab → · Contrast checker → · Palette generator →

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