#2A4E5D#2A4E5D

#2A4E5D is a dark, muted cyan. Relative luminance 0.067; OKLCH L 40.3% C 0.049 H 226.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2A4E5D
RGBrgb(42, 78, 93)
HSLhsl(198, 38%, 26%)
HSVhsv(198, 55%, 36%)
CMYKcmyk(54.8%, 16.1%, 0%, 63.5%)
CIE-LABlab(31.19, -8.20, -12.78)
CIE-LCHlch(31.19, 15.19, 237.31°)
OKLaboklab(40.35% -0.0331 -0.0354)
OKLCHoklch(40.35% 0.049 226.9)
XYZxyz(5.6543, 6.7309, 11.3550)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E5D #5D392A
analogous
#2A5D53 #2A4E5D #2A355D
triadic
#2A4E5D #5D2A4E #4E5D2A
tetradic
#2A4E5D #532A5D #5D392A #355D2A
square
#2A4E5D #532A5D #5D392A #355D2A
split-complementary
#2A4E5D #5D2A35 #5D532A
monochromatic
#0A1215 #172B33 #2A4E5D #3D7187 #5194B0

Accessibility & contrast

On white

8.95
#2A4E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A4E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E5D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E5D#FFFFFF#000000##FFFFFF
##2A4E5D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5E
Deuteranopia (green-blind)
#3F475D
Tritanopia (blue-blind)
#0C5253
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4e5d;
/* rgb */ color: rgb(42, 78, 93);
/* oklch */ color: oklch(40.3% 0.049 226.9);
Tailwind
colors: {
  custom: {
    50: '#687f8b',
    500: '#2a4e5d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e5d;
$custom-light: #687f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e5d",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 93
  },
  "hsl": {
    "h": 197.647,
    "s": 37.778,
    "l": 26.471
  },
  "oklch": {
    "l": 0.40345,
    "c": 0.04851,
    "h": 226.9
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#2A4E5D
secondary
#8F6553
accent
#7C5ACE
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0B
muted
#7A7C7C

Preview Lab

Preview with #2A4E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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