#2A4E6D#2A4E6D

#2A4E6D is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.2% C 0.067 H 246.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2A4E6D
RGBrgb(42, 78, 109)
HSLhsl(208, 44%, 30%)
HSVhsv(208, 61%, 43%)
CMYKcmyk(61.5%, 28.4%, 0%, 57.3%)
CIE-LABlab(31.91, -2.68, -21.80)
CIE-LCHlch(31.91, 21.96, 262.99°)
OKLaboklab(41.16% -0.0268 -0.0612)
OKLCHoklch(41.16% 0.067 246.3)
XYZxyz(6.4385, 7.0446, 15.4855)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E6D #6D492A
analogous
#2A6D6B #2A4E6D #2A2D6D
triadic
#2A4E6D #6D2A4E #4E6D2A
tetradic
#2A4E6D #6B2A6D #6D492A #2D6D2A
square
#2A4E6D #6B2A6D #6D492A #2D6D2A
split-complementary
#2A4E6D #6D2A2D #6D6B2A
monochromatic
#091016 #192E41 #2A4E6D #3B6E99 #548DBD

Accessibility & contrast

On white

8.72
#2A4E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2A4E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E6D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E6D#FFFFFF#000000##FFFFFF
##2A4E6D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#38486C
Tritanopia (blue-blind)
#005559
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4e6d;
/* rgb */ color: rgb(42, 78, 109);
/* oklch */ color: oklch(41.2% 0.067 246.3);
Tailwind
colors: {
  custom: {
    50: '#6a7f97',
    500: '#2a4e6d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e6d;
$custom-light: #6a7f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e6d",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 109
  },
  "hsl": {
    "h": 207.761,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.06686,
    "h": 246.3
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#2A4E6D
secondary
#9F7754
accent
#8F54D4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A4E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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