#2A375C#2A375C

#2A375C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.067 H 268.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2A375C
RGBrgb(42, 55, 92)
HSLhsl(224, 37%, 26%)
HSVhsv(224, 54%, 36%)
CMYKcmyk(54.3%, 40.2%, 0%, 63.9%)
CIE-LABlab(23.66, 6.54, -23.83)
CIE-LCHlch(23.66, 24.71, 285.36°)
OKLaboklab(34.42% -0.0022 -0.0673)
OKLCHoklch(34.42% 0.067 268.1)
XYZxyz(4.2522, 3.9970, 10.6706)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A375C #5C4F2A
analogous
#2A505C #2A375C #362A5C
triadic
#2A375C #5C2A37 #375C2A
tetradic
#2A375C #5C2A50 #5C4F2A #2A5C36
square
#2A375C #5C2A50 #5C4F2A #2A5C36
split-complementary
#2A375C #5C362A #505C2A
monochromatic
#0A0D15 #171E32 #2A375C #3D5086 #5169B0

Accessibility & contrast

On white

11.67
#2A375C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A375C
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A375C#FFFFFF#000000##FFFFFF
##2A375C1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5D
Deuteranopia (green-blind)
#23365B
Tritanopia (blue-blind)
#143F45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a375c;
/* rgb */ color: rgb(42, 55, 92);
/* oklch */ color: oklch(34.4% 0.067 268.1);
Tailwind
colors: {
  custom: {
    50: '#676d8a',
    500: '#2a375c',
    950: '#000000',
  },
}
SCSS
$custom: #2a375c;
$custom-light: #676d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a375c",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 92
  },
  "hsl": {
    "h": 224.4,
    "s": 37.313,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34419,
    "c": 0.06734,
    "h": 268.1
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#2A375C
secondary
#8E7F53
accent
#AF5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2A375C

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

Preview Lab → · Contrast checker → · Palette generator →

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