#071234#071234

#071234 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.069 H 266.2°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#071234
RGBrgb(7, 18, 52)
HSLhsl(225, 76%, 12%)
HSVhsv(225, 87%, 20%)
CMYKcmyk(86.5%, 65.4%, 0%, 79.6%)
CIE-LABlab(6.55, 9.48, -23.72)
CIE-LCHlch(6.55, 25.54, 291.78°)
OKLaboklab(19.72% -0.0046 -0.0688)
OKLCHoklch(19.72% 0.069 266.2)
XYZxyz(0.9235, 0.7256, 3.3395)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071234 #342907
analogous
#072934 #071234 #130734
triadic
#071234 #340712 #123407
tetradic
#071234 #340729 #342907 #073413
square
#071234 #340729 #342907 #073413
split-complementary
#071234 #341307 #293407
monochromatic
#04091B #04091B #071234 #0E256A #1637A0

Accessibility & contrast

On white

18.34
#071234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#071234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071234
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071234#FFFFFF#000000##FFFFFF
##0712341.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #071234;
/* rgb */ color: rgb(7, 18, 52);
/* oklch */ color: oklch(19.7% 0.069 266.2);
Tailwind
colors: {
  custom: {
    50: '#4e4f6c',
    500: '#071234',
    950: '#000000',
  },
}
SCSS
$custom: #071234;
$custom-light: #4e4f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#071234",
  "rgb": {
    "r": 7,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 225.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19723,
    "c": 0.06898,
    "h": 266.2
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#071234
secondary
#746023
accent
#C435F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #071234

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

Preview Lab → · Contrast checker → · Palette generator →

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