#030731#030731

#030731 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.083 H 268.0°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#030731
RGBrgb(3, 7, 49)
HSLhsl(235, 88%, 10%)
HSVhsv(235, 94%, 19%)
CMYKcmyk(93.9%, 85.7%, 0%, 80.8%)
CIE-LABlab(3.55, 12.05, -26.33)
CIE-LCHlch(3.55, 28.96, 294.59°)
OKLaboklab(16.47% -0.0029 -0.0825)
OKLCHoklch(16.47% 0.083 268)
XYZxyz(0.6677, 0.3930, 2.9458)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030731 #312D03
analogous
#031E31 #030731 #160331
triadic
#030731 #310307 #073103
tetradic
#030731 #31031E #312D03 #033116
square
#030731 #31031E #312D03 #033116
split-complementary
#030731 #311603 #1E3103
monochromatic
#02041D #02041D #030731 #070F6B #0A17A4

Accessibility & contrast

On white

19.47
#030731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #030731
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030731#FFFFFF#000000##FFFFFF
##0307311.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #030731;
/* rgb */ color: rgb(3, 7, 49);
/* oklch */ color: oklch(16.5% 0.083 268.0);
Tailwind
colors: {
  custom: {
    50: '#4a4969',
    500: '#030731',
    950: '#000000',
  },
}
SCSS
$custom: #030731;
$custom-light: #4a4969;
$custom-dark: #000000;
JSON
{
  "hex": "#030731",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 234.783,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16471,
    "c": 0.08259,
    "h": 268
  },
  "luminance": 0.00393
}

Semantic roles & 50–950 ramp

primary
#030731
secondary
#746D1B
accent
#EC29FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #030731

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

Preview Lab → · Contrast checker → · Palette generator →

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