#2A375F#2A375F

#2A375F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.6% C 0.072 H 268.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2A375F
RGBrgb(42, 55, 95)
HSLhsl(225, 39%, 27%)
HSVhsv(225, 56%, 37%)
CMYKcmyk(55.8%, 42.1%, 0%, 62.7%)
CIE-LABlab(23.84, 7.63, -25.51)
CIE-LCHlch(23.84, 26.62, 286.64°)
OKLaboklab(34.61% -0.0015 -0.0722)
OKLCHoklch(34.61% 0.072 268.8)
XYZxyz(4.3859, 4.0505, 11.3750)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A375F #5F522A
analogous
#2A525F #2A375F #382A5F
triadic
#2A375F #5F2A37 #375F2A
tetradic
#2A375F #5F2A52 #5F522A #2A5F38
square
#2A375F #5F2A52 #5F522A #2A5F38
split-complementary
#2A375F #5F382A #525F2A
monochromatic
#090C15 #171E35 #2A375F #3D5089 #5169B2

Accessibility & contrast

On white

11.60
#2A375F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2A375F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A375F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A375F#FFFFFF#000000##FFFFFF
##2A375F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B61
Deuteranopia (green-blind)
#21375E
Tritanopia (blue-blind)
#114046
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a375f;
/* rgb */ color: rgb(42, 55, 95);
/* oklch */ color: oklch(34.6% 0.072 268.8);
Tailwind
colors: {
  custom: {
    50: '#686d8c',
    500: '#2a375f',
    950: '#000000',
  },
}
SCSS
$custom: #2a375f;
$custom-light: #686d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a375f",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 95
  },
  "hsl": {
    "h": 225.283,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34612,
    "c": 0.07223,
    "h": 268.8
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#2A375F
secondary
#918253
accent
#B259CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2A375F

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

Preview Lab → · Contrast checker → · Palette generator →

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