#072A4E#072A4E

#072A4E is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.077 H 252.9°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#072A4E
RGBrgb(7, 42, 78)
HSLhsl(210, 84%, 17%)
HSVhsv(210, 91%, 31%)
CMYKcmyk(91%, 46.2%, 0%, 69.4%)
CIE-LABlab(16.75, 3.24, -25.59)
CIE-LCHlch(16.75, 25.79, 277.22°)
OKLaboklab(28.3% -0.0226 -0.0733)
OKLCHoklch(28.3% 0.077 252.9)
XYZxyz(2.2902, 2.2509, 7.5200)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A4E #4E2B07
analogous
#074E4E #072A4E #08074E
triadic
#072A4E #4E072A #2A4E07
tetradic
#072A4E #4E074E #4E2B07 #074E08
square
#072A4E #4E074E #4E2B07 #074E08
split-complementary
#072A4E #4E0807 #4E4E07
monochromatic
#030F1C #030F1C #072A4E #0C4886 #1166BE

Accessibility & contrast

On white

14.48
#072A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#072A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A4E
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A4E#FFFFFF#000000##FFFFFF
##072A4E1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D4F
Deuteranopia (green-blind)
#0B264D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #072a4e;
/* rgb */ color: rgb(7, 42, 78);
/* oklch */ color: oklch(28.3% 0.077 252.9);
Tailwind
colors: {
  custom: {
    50: '#556380',
    500: '#072a4e',
    950: '#000000',
  },
}
SCSS
$custom: #072a4e;
$custom-light: #556380;
$custom-dark: #000000;
JSON
{
  "hex": "#072a4e",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 210.423,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28295,
    "c": 0.07667,
    "h": 252.9
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#072A4E
secondary
#8C5925
accent
#952EFA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #072A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#072A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva