#2A4E5E#2A4E5E

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

Color values

HEX#2A4E5E
RGBrgb(42, 78, 94)
HSLhsl(198, 38%, 27%)
HSVhsv(198, 55%, 37%)
CMYKcmyk(55.3%, 17%, 0%, 63.1%)
CIE-LABlab(31.23, -7.87, -13.36)
CIE-LCHlch(31.23, 15.50, 239.49°)
OKLaboklab(40.39% -0.0327 -0.0371)
OKLCHoklch(40.39% 0.049 228.6)
XYZxyz(5.6989, 6.7487, 11.5898)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E5E #5E3A2A
analogous
#2A5E54 #2A4E5E #2A345E
triadic
#2A4E5E #5E2A4E #4E5E2A
tetradic
#2A4E5E #542A5E #5E3A2A #345E2A
square
#2A4E5E #542A5E #5E3A2A #345E2A
split-complementary
#2A4E5E #5E2A34 #5E542A
monochromatic
#091215 #172B34 #2A4E5E #3D7188 #5194B1

Accessibility & contrast

On white

8.94
#2A4E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E5E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E5E#FFFFFF#000000##FFFFFF
##2A4E5E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#3E475E
Tritanopia (blue-blind)
#0B5353
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4e5e;
/* rgb */ color: rgb(42, 78, 94);
/* oklch */ color: oklch(40.4% 0.049 228.6);
Tailwind
colors: {
  custom: {
    50: '#687f8b',
    500: '#2a4e5e',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e5e;
$custom-light: #687f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e5e",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 94
  },
  "hsl": {
    "h": 198.462,
    "s": 38.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.40392,
    "c": 0.04942,
    "h": 228.6
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#2A4E5E
secondary
#906653
accent
#7D5ACE
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #2A4E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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