#2A4E7A#2A4E7A

#2A4E7A is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.085 H 254.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2A4E7A
RGBrgb(42, 78, 122)
HSLhsl(213, 49%, 32%)
HSVhsv(213, 66%, 48%)
CMYKcmyk(65.6%, 36.1%, 0%, 52.2%)
CIE-LABlab(32.58, 2.07, -28.87)
CIE-LCHlch(32.58, 28.95, 274.10°)
OKLaboklab(41.9% -0.0227 -0.0818)
OKLCHoklch(41.9% 0.085 254.5)
XYZxyz(7.1908, 7.3455, 19.4474)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E7A #7A562A
analogous
#2A767A #2A4E7A #2E2A7A
triadic
#2A4E7A #7A2A4E #4E7A2A
tetradic
#2A4E7A #7A2A76 #7A562A #2A7A2E
square
#2A4E7A #7A2A76 #7A562A #2A7A2E
split-complementary
#2A4E7A #7A2E2A #767A2A
monochromatic
#0B141F #1A314C #2A4E7A #3A6BA8 #598AC6

Accessibility & contrast

On white

8.50
#2A4E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A4E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E7A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E7A#FFFFFF#000000##FFFFFF
##2A4E7A1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4e7a;
/* rgb */ color: rgb(42, 78, 122);
/* oklch */ color: oklch(41.9% 0.085 254.5);
Tailwind
colors: {
  custom: {
    50: '#6c7fa0',
    500: '#2a4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e7a;
$custom-light: #6c7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e7a",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 213,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.08488,
    "h": 254.5
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#2A4E7A
secondary
#AB8455
accent
#9B4FD8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2A4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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