#2A4E6E#2A4E6E

#2A4E6E is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.2% C 0.068 H 247.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2A4E6E
RGBrgb(42, 78, 110)
HSLhsl(208, 45%, 30%)
HSVhsv(208, 62%, 43%)
CMYKcmyk(61.8%, 29.1%, 0%, 56.9%)
CIE-LABlab(31.96, -2.32, -22.35)
CIE-LCHlch(31.96, 22.47, 264.08°)
OKLaboklab(41.21% -0.0265 -0.0628)
OKLCHoklch(41.21% 0.068 247.1)
XYZxyz(6.4927, 7.0662, 15.7706)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E6E #6E4A2A
analogous
#2A6E6C #2A4E6E #2A2C6E
triadic
#2A4E6E #6E2A4E #4E6E2A
tetradic
#2A4E6E #6C2A6E #6E4A2A #2C6E2A
square
#2A4E6E #6C2A6E #6E4A2A #2C6E2A
split-complementary
#2A4E6E #6E2A2C #6E6C2A
monochromatic
#081016 #192F42 #2A4E6E #3B6D9A #558CBE

Accessibility & contrast

On white

8.70
#2A4E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E6E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E6E#FFFFFF#000000##FFFFFF
##2A4E6E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F6F
Deuteranopia (green-blind)
#37486D
Tritanopia (blue-blind)
#005659
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4e6e;
/* rgb */ color: rgb(42, 78, 110);
/* oklch */ color: oklch(41.2% 0.068 247.1);
Tailwind
colors: {
  custom: {
    50: '#6a7f97',
    500: '#2a4e6e',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e6e;
$custom-light: #6a7f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e6e",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 110
  },
  "hsl": {
    "h": 208.235,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.06819,
    "h": 247.1
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#2A4E6E
secondary
#A07854
accent
#9053D4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A4E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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