#030F3F#030F3F

#030F3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.093 H 265.1°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#030F3F
RGBrgb(3, 15, 63)
HSLhsl(228, 91%, 13%)
HSVhsv(228, 95%, 25%)
CMYKcmyk(95.2%, 76.2%, 0%, 75.3%)
CIE-LABlab(6.50, 16.29, -31.77)
CIE-LCHlch(6.50, 35.70, 297.15°)
OKLaboklab(19.96% -0.0079 -0.0926)
OKLCHoklch(19.96% 0.093 265.1)
XYZxyz(1.1053, 0.7197, 4.7823)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030F3F #3F3303
analogous
#032D3F #030F3F #15033F
triadic
#030F3F #3F030F #0F3F03
tetradic
#030F3F #3F032D #3F3303 #033F15
square
#030F3F #3F032D #3F3303 #033F15
split-complementary
#030F3F #3F1503 #2D3F03
monochromatic
#01071D #01071D #030F3F #061D79 #092BB4

Accessibility & contrast

On white

18.36
#030F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#030F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030F3F
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030F3F#FFFFFF#000000##FFFFFF
##030F3F1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001740
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #030f3f;
/* rgb */ color: rgb(3, 15, 63);
/* oklch */ color: oklch(20.0% 0.093 265.1);
Tailwind
colors: {
  custom: {
    50: '#504d75',
    500: '#030f3f',
    950: '#000000',
  },
}
SCSS
$custom: #030f3f;
$custom-light: #504d75;
$custom-dark: #000000;
JSON
{
  "hex": "#030f3f",
  "rgb": {
    "r": 3,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 228,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19958,
    "c": 0.09297,
    "h": 265.1
  },
  "luminance": 0.0072
}

Semantic roles & 50–950 ramp

primary
#030F3F
secondary
#816D1D
accent
#D429FF
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#020108
muted
#78777B

Preview Lab

Preview with #030F3F

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

Preview Lab → · Contrast checker → · Palette generator →

#030F3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva