#070531#070531

#070531 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.4% C 0.084 H 274.6°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#070531
RGBrgb(7, 5, 49)
HSLhsl(243, 81%, 11%)
HSVhsv(243, 90%, 19%)
CMYKcmyk(85.7%, 89.8%, 0%, 80.8%)
CIE-LABlab(3.39, 13.90, -26.57)
CIE-LCHlch(3.39, 29.99, 297.61°)
OKLaboklab(16.38% 0.0067 -0.0837)
OKLCHoklch(16.38% 0.084 274.6)
XYZxyz(0.6961, 0.3754, 2.9409)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070531 #2F3105
analogous
#051931 #070531 #1D0531
triadic
#070531 #310705 #053107
tetradic
#070531 #310519 #2F3105 #05311D
square
#070531 #310519 #2F3105 #05311D
split-complementary
#070531 #311D05 #193105
monochromatic
#04031C #04031C #070531 #0F0B69 #1710A0

Accessibility & contrast

On white

19.53
#070531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#070531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070531
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070531#FFFFFF#000000##FFFFFF
##0705311.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #070531;
/* rgb */ color: rgb(7, 5, 49);
/* oklch */ color: oklch(16.4% 0.084 274.6);
Tailwind
colors: {
  custom: {
    50: '#4c4869',
    500: '#070531',
    950: '#000000',
  },
}
SCSS
$custom: #070531;
$custom-light: #4c4869;
$custom-dark: #000000;
JSON
{
  "hex": "#070531",
  "rgb": {
    "r": 7,
    "g": 5,
    "b": 49
  },
  "hsl": {
    "h": 242.727,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16384,
    "c": 0.08393,
    "h": 274.6
  },
  "luminance": 0.00375
}

Semantic roles & 50–950 ramp

primary
#070531
secondary
#6F721F
accent
#F830EF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #070531

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

Preview Lab → · Contrast checker → · Palette generator →

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