#2A3673#2A3673

#2A3673 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.105 H 271.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2A3673
RGBrgb(42, 54, 115)
HSLhsl(230, 46%, 31%)
HSVhsv(230, 63%, 45%)
CMYKcmyk(63.5%, 53%, 0%, 54.9%)
CIE-LABlab(24.85, 15.74, -36.79)
CIE-LCHlch(24.85, 40.01, 293.17°)
OKLaboklab(35.81% 0.0032 -0.1053)
OKLCHoklch(35.81% 0.105 271.7)
XYZxyz(5.3675, 4.3679, 16.7766)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3673 #73672A
analogous
#2A5A73 #2A3673 #422A73
triadic
#2A3673 #732A36 #36732A
tetradic
#2A3673 #732A5A #73672A #2A7342
square
#2A3673 #732A5A #73672A #2A7342
split-complementary
#2A3673 #73422A #5A732A
monochromatic
#090C19 #1A2146 #2A3673 #3A4BA0 #5668C1

Accessibility & contrast

On white

11.21
#2A3673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3673
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3673#FFFFFF#000000##FFFFFF
##2A36731.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E75
Deuteranopia (green-blind)
#043872
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a3673;
/* rgb */ color: rgb(42, 54, 115);
/* oklch */ color: oklch(35.8% 0.105 271.7);
Tailwind
colors: {
  custom: {
    50: '#6b6c9c',
    500: '#2a3673',
    950: '#000000',
  },
}
SCSS
$custom: #2a3673;
$custom-light: #6b6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3673",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 115
  },
  "hsl": {
    "h": 230.137,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35811,
    "c": 0.10537,
    "h": 271.7
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A3673

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

Preview Lab → · Contrast checker → · Palette generator →

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