#2A4E7C#2A4E7C

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

Color values

HEX#2A4E7C
RGBrgb(42, 78, 124)
HSLhsl(214, 49%, 33%)
HSVhsv(214, 66%, 49%)
CMYKcmyk(66.1%, 37.1%, 0%, 51.4%)
CIE-LABlab(32.69, 2.82, -29.94)
CIE-LCHlch(32.69, 30.07, 275.37°)
OKLaboklab(42.03% -0.0221 -0.0849)
OKLCHoklch(42.03% 0.088 255.4)
XYZxyz(7.3160, 7.3956, 20.1068)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E7C #7C582A
analogous
#2A777C #2A4E7C #2F2A7C
triadic
#2A4E7C #7C2A4E #4E7C2A
tetradic
#2A4E7C #7C2A77 #7C582A #2A7C2F
square
#2A4E7C #7C2A77 #7C582A #2A7C2F
split-complementary
#2A4E7C #7C2F2A #777C2A
monochromatic
#0B1421 #1B314E #2A4E7C #396BAA #598AC7

Accessibility & contrast

On white

8.47
#2A4E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A4E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E7C
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E7C#FFFFFF#000000##FFFFFF
##2A4E7C1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#2F497B
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4e7c;
/* rgb */ color: rgb(42, 78, 124);
/* oklch */ color: oklch(42.0% 0.088 255.4);
Tailwind
colors: {
  custom: {
    50: '#6c7fa2',
    500: '#2a4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e7c;
$custom-light: #6c7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e7c",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 213.659,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42026,
    "c": 0.08775,
    "h": 255.4
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#2A4E7C
secondary
#AD8655
accent
#9C4FD9
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2A4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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