#030027#030027

#030027 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.9% C 0.082 H 272.8°. Best body text is #FFFFFF at 20.33:1 contrast (WCAG AA passes).

Color values

HEX#030027
RGBrgb(3, 0, 39)
HSLhsl(245, 100%, 8%)
HSVhsv(245, 100%, 15%)
CMYKcmyk(92.3%, 100%, 0%, 84.7%)
CIE-LABlab(1.50, 10.08, -21.98)
CIE-LCHlch(1.50, 24.18, 294.63°)
OKLaboklab(12.85% 0.004 -0.0822)
OKLCHoklch(12.85% 0.082 272.8)
XYZxyz(0.4036, 0.1658, 1.9298)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030027 #242700
analogous
#001127 #030027 #160027
triadic
#030027 #270300 #002703
tetradic
#030027 #270011 #242700 #002716
square
#030027 #270011 #242700 #002716
split-complementary
#030027 #271600 #112700
monochromatic
#02001F #02001F #030027 #080064 #0C00A1

Accessibility & contrast

On white

20.33
#030027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#030027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030027
20.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030027#FFFFFF#000000##FFFFFF
##0300271.0020.331.0320.33
#FFFFFF20.331.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000728
Deuteranopia (green-blind)
#000426
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #030027;
/* rgb */ color: rgb(3, 0, 39);
/* oklch */ color: oklch(12.9% 0.082 272.8);
Tailwind
colors: {
  custom: {
    50: '#484761',
    500: '#030027',
    950: '#000000',
  },
}
SCSS
$custom: #030027;
$custom-light: #484761;
$custom-dark: #000000;
JSON
{
  "hex": "#030027",
  "rgb": {
    "r": 3,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 244.615,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.12853,
    "c": 0.08227,
    "h": 272.8
  },
  "luminance": 0.00166
}

Semantic roles & 50–950 ramp

primary
#030027
secondary
#686F14
accent
#FF29EF
background
#F4F3F5
surface
#E6E5EA
border
#C2C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #030027

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

Preview Lab → · Contrast checker → · Palette generator →

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