#2A4E75#2A4E75

#2A4E75 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.078 H 251.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2A4E75
RGBrgb(42, 78, 117)
HSLhsl(211, 47%, 31%)
HSVhsv(211, 64%, 46%)
CMYKcmyk(64.1%, 33.3%, 0%, 54.1%)
CIE-LABlab(32.31, 0.22, -26.18)
CIE-LCHlch(32.31, 26.18, 270.49°)
OKLaboklab(41.61% -0.0242 -0.0739)
OKLCHoklch(41.61% 0.078 251.9)
XYZxyz(6.8890, 7.2247, 17.8576)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E75 #75512A
analogous
#2A7375 #2A4E75 #2B2A75
triadic
#2A4E75 #752A4E #4E752A
tetradic
#2A4E75 #752A73 #75512A #2A752B
square
#2A4E75 #752A73 #75512A #2A752B
split-complementary
#2A4E75 #752B2A #73752A
monochromatic
#0A121B #1A3048 #2A4E75 #3A6CA2 #578BC3

Accessibility & contrast

On white

8.59
#2A4E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A4E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E75
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E75#FFFFFF#000000##FFFFFF
##2A4E751.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5077
Deuteranopia (green-blind)
#334974
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4e75;
/* rgb */ color: rgb(42, 78, 117);
/* oklch */ color: oklch(41.6% 0.078 251.9);
Tailwind
colors: {
  custom: {
    50: '#6b7f9d',
    500: '#2a4e75',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e75;
$custom-light: #6b7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e75",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 117
  },
  "hsl": {
    "h": 211.2,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41607,
    "c": 0.0778,
    "h": 251.9
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#2A4E75
secondary
#A77F54
accent
#9751D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4E75

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

Preview Lab → · Contrast checker → · Palette generator →

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