#2A375E#2A375E

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

Color values

HEX#2A375E
RGBrgb(42, 55, 94)
HSLhsl(225, 38%, 27%)
HSVhsv(225, 55%, 37%)
CMYKcmyk(55.3%, 41.5%, 0%, 63.1%)
CIE-LABlab(23.78, 7.26, -24.95)
CIE-LCHlch(23.78, 25.99, 286.23°)
OKLaboklab(34.55% -0.0017 -0.0706)
OKLCHoklch(34.55% 0.071 268.6)
XYZxyz(4.3408, 4.0325, 11.1371)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A375E #5E512A
analogous
#2A515E #2A375E #372A5E
triadic
#2A375E #5E2A37 #375E2A
tetradic
#2A375E #5E2A51 #5E512A #2A5E37
square
#2A375E #5E2A51 #5E512A #2A5E37
split-complementary
#2A375E #5E372A #515E2A
monochromatic
#090C15 #171E34 #2A375E #3D5088 #5169B1

Accessibility & contrast

On white

11.62
#2A375E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A375E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A375E#FFFFFF#000000##FFFFFF
##2A375E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B60
Deuteranopia (green-blind)
#22365D
Tritanopia (blue-blind)
#123F46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a375e;
/* rgb */ color: rgb(42, 55, 94);
/* oklch */ color: oklch(34.5% 0.071 268.6);
Tailwind
colors: {
  custom: {
    50: '#676d8c',
    500: '#2a375e',
    950: '#000000',
  },
}
SCSS
$custom: #2a375e;
$custom-light: #676d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a375e",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 94
  },
  "hsl": {
    "h": 225,
    "s": 38.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34547,
    "c": 0.0706,
    "h": 268.6
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#2A375E
secondary
#908153
accent
#B15ACE
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2A375E

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

Preview Lab → · Contrast checker → · Palette generator →

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