#2A4E6C#2A4E6C

#2A4E6C is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.1% C 0.066 H 245.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2A4E6C
RGBrgb(42, 78, 108)
HSLhsl(207, 44%, 29%)
HSVhsv(207, 61%, 42%)
CMYKcmyk(61.1%, 27.8%, 0%, 57.6%)
CIE-LABlab(31.86, -3.04, -21.24)
CIE-LCHlch(31.86, 21.46, 261.87°)
OKLaboklab(41.1% -0.0272 -0.0596)
OKLCHoklch(41.1% 0.066 245.5)
XYZxyz(6.3850, 7.0232, 15.2036)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E6C #6C482A
analogous
#2A6C69 #2A4E6C #2A2D6C
triadic
#2A4E6C #6C2A4E #4E6C2A
tetradic
#2A4E6C #692A6C #6C482A #2D6C2A
square
#2A4E6C #692A6C #6C482A #2D6C2A
split-complementary
#2A4E6C #6C2A2D #6C692A
monochromatic
#091016 #192E40 #2A4E6C #3B6E98 #548DBC

Accessibility & contrast

On white

8.73
#2A4E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A4E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E6C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E6C#FFFFFF#000000##FFFFFF
##2A4E6C1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6D
Deuteranopia (green-blind)
#38486B
Tritanopia (blue-blind)
#005558
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4e6c;
/* rgb */ color: rgb(42, 78, 108);
/* oklch */ color: oklch(41.1% 0.066 245.5);
Tailwind
colors: {
  custom: {
    50: '#6a7f96',
    500: '#2a4e6c',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e6c;
$custom-light: #6a7f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e6c",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 108
  },
  "hsl": {
    "h": 207.273,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.06554,
    "h": 245.5
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

primary
#2A4E6C
secondary
#9E7654
accent
#8E54D4
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A4E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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