#2A4E7B#2A4E7B

#2A4E7B is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.086 H 255.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2A4E7B
RGBrgb(42, 78, 123)
HSLhsl(213, 49%, 32%)
HSVhsv(213, 66%, 48%)
CMYKcmyk(65.9%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.64, 2.44, -29.41)
CIE-LCHlch(32.64, 29.51, 274.75°)
OKLaboklab(41.97% -0.0224 -0.0833)
OKLCHoklch(41.97% 0.086 255)
XYZxyz(7.2531, 7.3704, 19.7754)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E7B #7B572A
analogous
#2A777B #2A4E7B #2E2A7B
triadic
#2A4E7B #7B2A4E #4E7B2A
tetradic
#2A4E7B #7B2A77 #7B572A #2A7B2E
square
#2A4E7B #7B2A77 #7B572A #2A7B2E
split-complementary
#2A4E7B #7B2E2A #777B2A
monochromatic
#0B1420 #1A314D #2A4E7B #3A6BA9 #598AC6

Accessibility & contrast

On white

8.49
#2A4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E7B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E7B#FFFFFF#000000##FFFFFF
##2A4E7B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#2F497A
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4e7b;
/* rgb */ color: rgb(42, 78, 123);
/* oklch */ color: oklch(42.0% 0.086 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c7fa1',
    500: '#2a4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e7b;
$custom-light: #6c7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e7b",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 213.333,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41965,
    "c": 0.08631,
    "h": 255
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#2A4E7B
secondary
#AC8555
accent
#9C4FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2A4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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