#2A394F#2A394F

#2A394F is a dark, muted blue. Relative luminance 0.040; OKLCH L 34.2% C 0.044 H 257.8°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2A394F
RGBrgb(42, 57, 79)
HSLhsl(216, 31%, 24%)
HSVhsv(216, 47%, 31%)
CMYKcmyk(46.8%, 27.8%, 0%, 69%)
CIE-LABlab(23.61, 0.65, -15.34)
CIE-LCHlch(23.61, 15.35, 272.42°)
OKLaboklab(34.16% -0.0092 -0.0427)
OKLCHoklch(34.16% 0.044 257.8)
XYZxyz(3.8288, 3.9828, 7.9626)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A394F #4F402A
analogous
#2A4B4F #2A394F #2D2A4F
triadic
#2A394F #4F2A39 #394F2A
tetradic
#2A394F #4F2A4B #4F402A #2A4F2D
square
#2A394F #4F2A4B #4F402A #2A4F2D
split-complementary
#2A394F #4F2D2A #4B4F2A
monochromatic
#0B0E14 #151C27 #2A394F #3F5677 #54739F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A394F#FFFFFF#000000##FFFFFF
##2A394F1.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)
#313A50
Deuteranopia (green-blind)
#2D374F
Tritanopia (blue-blind)
#1D3E41
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a394f;
/* rgb */ color: rgb(42, 57, 79);
/* oklch */ color: oklch(34.2% 0.044 257.8);
Tailwind
colors: {
  custom: {
    50: '#656f80',
    500: '#2a394f',
    950: '#000000',
  },
}
SCSS
$custom: #2a394f;
$custom-light: #656f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a394f",
  "rgb": {
    "r": 42,
    "g": 57,
    "b": 79
  },
  "hsl": {
    "h": 215.676,
    "s": 30.579,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34156,
    "c": 0.04369,
    "h": 257.8
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#2A394F
secondary
#816F54
accent
#9E61C7
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2A394F

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

Preview Lab → · Contrast checker → · Palette generator →

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