#2A4370#2A4370

#2A4370 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.6% C 0.083 H 261.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2A4370
RGBrgb(42, 67, 112)
HSLhsl(219, 45%, 30%)
HSVhsv(219, 63%, 44%)
CMYKcmyk(62.5%, 40.2%, 0%, 56.1%)
CIE-LABlab(28.58, 5.66, -28.92)
CIE-LCHlch(28.58, 29.47, 281.07°)
OKLaboklab(38.6% -0.0125 -0.0821)
OKLCHoklch(38.6% 0.083 261.3)
XYZxyz(5.8856, 5.6759, 16.1115)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4370 #70572A
analogous
#2A6670 #2A4370 #342A70
triadic
#2A4370 #702A43 #43702A
tetradic
#2A4370 #702A66 #70572A #2A7034
square
#2A4370 #702A66 #70572A #2A7034
split-complementary
#2A4370 #70342A #66702A
monochromatic
#090E17 #192843 #2A4370 #3B5E9D #557BBF

Accessibility & contrast

On white

9.84
#2A4370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2A4370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4370
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4370#FFFFFF#000000##FFFFFF
##2A43701.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304772
Deuteranopia (green-blind)
#27406F
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4370;
/* rgb */ color: rgb(42, 67, 112);
/* oklch */ color: oklch(38.6% 0.083 261.3);
Tailwind
colors: {
  custom: {
    50: '#6a7699',
    500: '#2a4370',
    950: '#000000',
  },
}
SCSS
$custom: #2a4370;
$custom-light: #6a7699;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4370",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 112
  },
  "hsl": {
    "h": 218.571,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38604,
    "c": 0.08301,
    "h": 261.3
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#2A4370
secondary
#A28654
accent
#A753D5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A4370

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

Preview Lab → · Contrast checker → · Palette generator →

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