#2A385F#2A385F

#2A385F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.071 H 267.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2A385F
RGBrgb(42, 56, 95)
HSLhsl(224, 39%, 27%)
HSVhsv(224, 56%, 37%)
CMYKcmyk(55.8%, 41.1%, 0%, 62.7%)
CIE-LABlab(24.15, 6.93, -25.01)
CIE-LCHlch(24.15, 25.96, 285.49°)
OKLaboklab(34.85% -0.0028 -0.0708)
OKLCHoklch(34.85% 0.071 267.7)
XYZxyz(4.4339, 4.1465, 11.3910)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A385F #5F512A
analogous
#2A535F #2A385F #372A5F
triadic
#2A385F #5F2A38 #385F2A
tetradic
#2A385F #5F2A53 #5F512A #2A5F37
square
#2A385F #5F2A53 #5F512A #2A5F37
split-complementary
#2A385F #5F372A #535F2A
monochromatic
#090D15 #171F35 #2A385F #3D5189 #516BB2

Accessibility & contrast

On white

11.48
#2A385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2A385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A385F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A385F#FFFFFF#000000##FFFFFF
##2A385F1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#23375E
Tritanopia (blue-blind)
#114047
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a385f;
/* rgb */ color: rgb(42, 56, 95);
/* oklch */ color: oklch(34.9% 0.071 267.7);
Tailwind
colors: {
  custom: {
    50: '#686e8c',
    500: '#2a385f',
    950: '#000000',
  },
}
SCSS
$custom: #2a385f;
$custom-light: #686e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a385f",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 224.151,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34853,
    "c": 0.07082,
    "h": 267.7
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#2A385F
secondary
#918153
accent
#B059CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2A385F

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

Preview Lab → · Contrast checker → · Palette generator →

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