#072640#072640

#072640 is a dark, moderate cyan. Relative luminance 0.018; OKLCH L 26.2% C 0.060 H 248.0°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#072640
RGBrgb(7, 38, 64)
HSLhsl(207, 80%, 14%)
HSVhsv(207, 89%, 25%)
CMYKcmyk(89.1%, 40.6%, 0%, 74.9%)
CIE-LABlab(14.41, -0.16, -19.70)
CIE-LCHlch(14.41, 19.70, 269.53°)
OKLaboklab(26.16% -0.0226 -0.0561)
OKLCHoklch(26.16% 0.06 248)
XYZxyz(1.7058, 1.8014, 5.1073)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072640 #402107
analogous
#07403E #072640 #070A40
triadic
#072640 #400726 #264007
tetradic
#072640 #3E0740 #402107 #0A4007
square
#072640 #3E0740 #402107 #0A4007
split-complementary
#072640 #40070A #403E07
monochromatic
#03101C #03101C #072640 #0D4777 #1368AE

Accessibility & contrast

On white

15.44
#072640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#072640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072640
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072640#FFFFFF#000000##FFFFFF
##0726401.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2741
Deuteranopia (green-blind)
#11223F
Tritanopia (blue-blind)
#002C30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #072640;
/* rgb */ color: rgb(7, 38, 64);
/* oklch */ color: oklch(26.2% 0.060 248.0);
Tailwind
colors: {
  custom: {
    50: '#515f75',
    500: '#072640',
    950: '#000000',
  },
}
SCSS
$custom: #072640;
$custom-light: #515f75;
$custom-dark: #000000;
JSON
{
  "hex": "#072640",
  "rgb": {
    "r": 7,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 207.368,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26157,
    "c": 0.06049,
    "h": 248
  },
  "luminance": 0.01802
}

Semantic roles & 50–950 ramp

primary
#072640
secondary
#7F4D24
accent
#8B31F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #072640

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

Preview Lab → · Contrast checker → · Palette generator →

#072640 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva