#2A375B#2A375B

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

Color values

HEX#2A375B
RGBrgb(42, 55, 91)
HSLhsl(224, 37%, 26%)
HSVhsv(224, 54%, 36%)
CMYKcmyk(53.8%, 39.6%, 0%, 64.3%)
CIE-LABlab(23.60, 6.18, -23.26)
CIE-LCHlch(23.60, 24.07, 284.89°)
OKLaboklab(34.36% -0.0025 -0.0656)
OKLCHoklch(34.36% 0.066 267.8)
XYZxyz(4.2087, 3.9797, 10.4419)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A375B #5B4E2A
analogous
#2A4F5B #2A375B #352A5B
triadic
#2A375B #5B2A37 #375B2A
tetradic
#2A375B #5B2A4F #5B4E2A #2A5B35
square
#2A375B #5B2A4F #5B4E2A #2A5B35
split-complementary
#2A375B #5B352A #4F5B2A
monochromatic
#0A0D15 #171E31 #2A375B #3D5085 #516AAF

Accessibility & contrast

On white

11.69
#2A375B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A375B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A375B#FFFFFF#000000##FFFFFF
##2A375B1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5C
Deuteranopia (green-blind)
#24365A
Tritanopia (blue-blind)
#153F44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a375b;
/* rgb */ color: rgb(42, 55, 91);
/* oklch */ color: oklch(34.4% 0.066 267.8);
Tailwind
colors: {
  custom: {
    50: '#676d89',
    500: '#2a375b',
    950: '#000000',
  },
}
SCSS
$custom: #2a375b;
$custom-light: #676d89;
$custom-dark: #000000;
JSON
{
  "hex": "#2a375b",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 91
  },
  "hsl": {
    "h": 224.082,
    "s": 36.842,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34355,
    "c": 0.0657,
    "h": 267.8
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#2A375B
secondary
#8D7E53
accent
#AF5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2A375B

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

Preview Lab → · Contrast checker → · Palette generator →

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