#030127#030127

#030127 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.2% C 0.080 H 272.3°. Best body text is #FFFFFF at 20.24:1 contrast (WCAG AA passes).

Color values

HEX#030127
RGBrgb(3, 1, 39)
HSLhsl(243, 95%, 8%)
HSVhsv(243, 97%, 15%)
CMYKcmyk(92.3%, 97.4%, 0%, 84.7%)
CIE-LABlab(1.69, 9.68, -21.67)
CIE-LCHlch(1.69, 23.73, 294.07°)
OKLaboklab(13.24% 0.0033 -0.0795)
OKLCHoklch(13.24% 0.08 272.3)
XYZxyz(0.4145, 0.1875, 1.9334)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030127 #252701
analogous
#011227 #030127 #160127
triadic
#030127 #270301 #012703
tetradic
#030127 #270112 #252701 #012716
square
#030127 #270112 #252701 #012716
split-complementary
#030127 #271601 #122701
monochromatic
#02011E #02011E #030127 #080363 #0C049E

Accessibility & contrast

On white

20.24
#030127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#030127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030127
20.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030127#FFFFFF#000000##FFFFFF
##0301271.0020.241.0420.24
#FFFFFF20.241.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000828
Deuteranopia (green-blind)
#000526
Tritanopia (blue-blind)
#000B13
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #030127;
/* rgb */ color: rgb(3, 1, 39);
/* oklch */ color: oklch(13.2% 0.080 272.3);
Tailwind
colors: {
  custom: {
    50: '#484761',
    500: '#030127',
    950: '#000000',
  },
}
SCSS
$custom: #030127;
$custom-light: #484761;
$custom-dark: #000000;
JSON
{
  "hex": "#030127",
  "rgb": {
    "r": 3,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 243.158,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.13239,
    "c": 0.0796,
    "h": 272.3
  },
  "luminance": 0.00188
}

Semantic roles & 50–950 ramp

primary
#030127
secondary
#696E16
accent
#FF29F4
background
#F4F3F5
surface
#E6E5EA
border
#C2C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #030127

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

Preview Lab → · Contrast checker → · Palette generator →

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