#030334#030334

#030334 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.9% C 0.094 H 268.9°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#030334
RGBrgb(3, 3, 52)
HSLhsl(240, 89%, 11%)
HSVhsv(240, 94%, 20%)
CMYKcmyk(94.2%, 94.2%, 0%, 79.6%)
CIE-LABlab(3.00, 15.31, -29.44)
CIE-LCHlch(3.00, 33.19, 297.48°)
OKLaboklab(15.89% -0.0017 -0.0937)
OKLCHoklch(15.89% 0.094 268.9)
XYZxyz(0.6897, 0.3323, 3.2759)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030334 #343403
analogous
#031B34 #030334 #1B0334
triadic
#030334 #340303 #033403
tetradic
#030334 #34031B #343403 #03341B
square
#030334 #34031B #343403 #03341B
split-complementary
#030334 #341B03 #1B3403
monochromatic
#02021D #02021D #030334 #06066E #0A0AA8

Accessibility & contrast

On white

19.69
#030334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#030334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030334
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030334#FFFFFF#000000##FFFFFF
##0303341.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E35
Deuteranopia (green-blind)
#000833
Tritanopia (blue-blind)
#00121B
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #030334;
/* rgb */ color: rgb(3, 3, 52);
/* oklch */ color: oklch(15.9% 0.094 268.9);
Tailwind
colors: {
  custom: {
    50: '#4b476c',
    500: '#030334',
    950: '#000000',
  },
}
SCSS
$custom: #030334;
$custom-light: #4b476c;
$custom-dark: #000000;
JSON
{
  "hex": "#030334",
  "rgb": {
    "r": 3,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 240,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.15894,
    "c": 0.0937,
    "h": 268.9
  },
  "luminance": 0.00332
}

Semantic roles & 50–950 ramp

primary
#030334
secondary
#77771C
accent
#FF29FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010007
muted
#77777A

Preview Lab

Preview with #030334

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

Preview Lab → · Contrast checker → · Palette generator →

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