#2A375D#2A375D

#2A375D is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.069 H 268.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#2A375D
RGBrgb(42, 55, 93)
HSLhsl(225, 38%, 26%)
HSVhsv(225, 55%, 36%)
CMYKcmyk(54.8%, 40.9%, 0%, 63.5%)
CIE-LABlab(23.72, 6.90, -24.39)
CIE-LCHlch(23.72, 25.35, 285.80°)
OKLaboklab(34.48% -0.002 -0.0689)
OKLCHoklch(34.48% 0.069 268.4)
XYZxyz(4.2962, 4.0146, 10.9023)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A375D #5D502A
analogous
#2A515D #2A375D #372A5D
triadic
#2A375D #5D2A37 #375D2A
tetradic
#2A375D #5D2A51 #5D502A #2A5D37
square
#2A375D #5D2A51 #5D502A #2A5D37
split-complementary
#2A375D #5D372A #515D2A
monochromatic
#0A0C15 #171E33 #2A375D #3D5087 #5169B0

Accessibility & contrast

On white

11.65
#2A375D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2A375D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A375D
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A375D#FFFFFF#000000##FFFFFF
##2A375D1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B5F
Deuteranopia (green-blind)
#23365C
Tritanopia (blue-blind)
#133F45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a375d;
/* rgb */ color: rgb(42, 55, 93);
/* oklch */ color: oklch(34.5% 0.069 268.4);
Tailwind
colors: {
  custom: {
    50: '#676d8b',
    500: '#2a375d',
    950: '#000000',
  },
}
SCSS
$custom: #2a375d;
$custom-light: #676d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a375d",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 93
  },
  "hsl": {
    "h": 224.706,
    "s": 37.778,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34483,
    "c": 0.06897,
    "h": 268.4
  },
  "luminance": 0.04015
}

Semantic roles & 50–950 ramp

primary
#2A375D
secondary
#8F8053
accent
#B05ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2A375D

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

Preview Lab → · Contrast checker → · Palette generator →

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