#001038#001038

#001038 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.082 H 260.9°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#001038
RGBrgb(0, 16, 56)
HSLhsl(223, 100%, 11%)
HSVhsv(223, 100%, 22%)
CMYKcmyk(100%, 71.4%, 0%, 78%)
CIE-LABlab(5.93, 11.23, -27.67)
CIE-LCHlch(5.93, 29.86, 292.08°)
OKLaboklab(19.15% -0.013 -0.0813)
OKLCHoklch(19.15% 0.082 260.9)
XYZxyz(0.8988, 0.6560, 3.8199)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#001038 #382800
analogous
#002C38 #001038 #0C0038
triadic
#001038 #380010 #103800
tetradic
#001038 #38002C #382800 #00380C
square
#001038 #38002C #382800 #00380C
split-complementary
#001038 #380C00 #2C3800
monochromatic
#00091F #00091F #001038 #002175 #0033B2

Accessibility & contrast

On white

18.56
#001038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#001038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #001038
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##001038#FFFFFF#000000##FFFFFF
##0010381.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#001037
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #001038;
/* rgb */ color: rgb(0, 16, 56);
/* oklch */ color: oklch(19.2% 0.082 260.9);
Tailwind
colors: {
  custom: {
    50: '#4c4e6f',
    500: '#001038',
    950: '#000000',
  },
}
SCSS
$custom: #001038;
$custom-light: #4c4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#001038",
  "rgb": {
    "r": 0,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 222.857,
    "s": 100,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19154,
    "c": 0.0823,
    "h": 260.9
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#001038
secondary
#7E6016
accent
#C229FF
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #001038

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

Preview Lab → · Contrast checker → · Palette generator →

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