#071438#071438

#071438 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.073 H 265.2°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#071438
RGBrgb(7, 20, 56)
HSLhsl(224, 78%, 12%)
HSVhsv(224, 88%, 22%)
CMYKcmyk(87.5%, 64.3%, 0%, 78%)
CIE-LABlab(7.51, 10.09, -25.09)
CIE-LCHlch(7.51, 27.04, 291.90°)
OKLaboklab(20.62% -0.0061 -0.0724)
OKLCHoklch(20.62% 0.073 265.2)
XYZxyz(1.0513, 0.8309, 3.8456)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071438 #382B07
analogous
#072C38 #071438 #130738
triadic
#071438 #380714 #143807
tetradic
#071438 #38072C #382B07 #073813
square
#071438 #38072C #382B07 #073813
split-complementary
#071438 #381307 #2C3807
monochromatic
#030A1B #030A1B #071438 #0E276E #153BA5

Accessibility & contrast

On white

18.01
#071438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#071438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071438
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071438#FFFFFF#000000##FFFFFF
##0714381.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#001437
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071438;
/* rgb */ color: rgb(7, 20, 56);
/* oklch */ color: oklch(20.6% 0.073 265.2);
Tailwind
colors: {
  custom: {
    50: '#4f506f',
    500: '#071438',
    950: '#000000',
  },
}
SCSS
$custom: #071438;
$custom-light: #4f506f;
$custom-dark: #000000;
JSON
{
  "hex": "#071438",
  "rgb": {
    "r": 7,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 224.082,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20622,
    "c": 0.07266,
    "h": 265.2
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#071438
secondary
#786123
accent
#C134F4
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071438

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

Preview Lab → · Contrast checker → · Palette generator →

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