#2A4E7E#2A4E7E

#2A4E7E is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.091 H 256.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2A4E7E
RGBrgb(42, 78, 126)
HSLhsl(214, 50%, 33%)
HSVhsv(214, 67%, 49%)
CMYKcmyk(66.7%, 38.1%, 0%, 50.6%)
CIE-LABlab(32.80, 3.56, -31.00)
CIE-LCHlch(32.80, 31.21, 276.56°)
OKLaboklab(42.15% -0.0216 -0.088)
OKLCHoklch(42.15% 0.091 256.2)
XYZxyz(7.4438, 7.4467, 20.7797)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E7E #7E5A2A
analogous
#2A787E #2A4E7E #302A7E
triadic
#2A4E7E #7E2A4E #4E7E2A
tetradic
#2A4E7E #7E2A78 #7E5A2A #2A7E30
square
#2A4E7E #7E2A78 #7E5A2A #2A7E30
split-complementary
#2A4E7E #7E302A #787E2A
monochromatic
#0B1522 #1B3250 #2A4E7E #396AAC #5A89C8

Accessibility & contrast

On white

8.44
#2A4E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2A4E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E7E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E7E#FFFFFF#000000##FFFFFF
##2A4E7E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395180
Deuteranopia (green-blind)
#2D4A7D
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4e7e;
/* rgb */ color: rgb(42, 78, 126);
/* oklch */ color: oklch(42.1% 0.091 256.2);
Tailwind
colors: {
  custom: {
    50: '#6d7fa3',
    500: '#2a4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e7e;
$custom-light: #6d7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e7e",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 214.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4215,
    "c": 0.09063,
    "h": 256.2
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#2A4E7E
secondary
#AE8856
accent
#9E4EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2A4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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