#030628#030628

#030628 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.070 H 269.1°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#030628
RGBrgb(3, 6, 40)
HSLhsl(235, 86%, 8%)
HSVhsv(235, 93%, 16%)
CMYKcmyk(92.5%, 85%, 0%, 84.3%)
CIE-LABlab(2.74, 8.10, -20.82)
CIE-LCHlch(2.74, 22.34, 291.26°)
OKLaboklab(15.02% -0.0011 -0.07)
OKLCHoklch(15.02% 0.07 269.1)
XYZxyz(0.4855, 0.3028, 2.0399)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030628 #282503
analogous
#031828 #030628 #120328
triadic
#030628 #280306 #062803
tetradic
#030628 #280318 #282503 #032812
square
#030628 #280318 #282503 #032812
split-complementary
#030628 #281203 #182803
monochromatic
#02041C #02041C #030628 #070F61 #0C179A

Accessibility & contrast

On white

19.80
#030628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#030628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030628
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030628#FFFFFF#000000##FFFFFF
##0306281.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C29
Deuteranopia (green-blind)
#000827
Tritanopia (blue-blind)
#000F15
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #030628;
/* rgb */ color: rgb(3, 6, 40);
/* oklch */ color: oklch(15.0% 0.070 269.1);
Tailwind
colors: {
  custom: {
    50: '#484962',
    500: '#030628',
    950: '#000000',
  },
}
SCSS
$custom: #030628;
$custom-light: #484962;
$custom-dark: #000000;
JSON
{
  "hex": "#030628",
  "rgb": {
    "r": 3,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 235.135,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.15024,
    "c": 0.07005,
    "h": 269.1
  },
  "luminance": 0.00303
}

Semantic roles & 50–950 ramp

primary
#030628
secondary
#6C651B
accent
#EB2CFC
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #030628

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

Preview Lab → · Contrast checker → · Palette generator →

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