#030F7D#030F7D

#030F7D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.2% C 0.174 H 265.0°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#030F7D
RGBrgb(3, 15, 125)
HSLhsl(234, 95%, 25%)
HSVhsv(234, 98%, 49%)
CMYKcmyk(97.6%, 88%, 0%, 51%)
CIE-LABlab(14.63, 40.56, -60.01)
CIE-LCHlch(14.63, 72.43, 304.05°)
OKLaboklab(28.15% -0.0151 -0.1738)
OKLCHoklch(28.15% 0.174 265)
XYZxyz(3.9088, 1.8411, 19.5474)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030F7D #7D7103
analogous
#034C7D #030F7D #34037D
triadic
#030F7D #7D030F #0F7D03
tetradic
#030F7D #7D034C #7D7103 #037D34
square
#030F7D #7D034C #7D7103 #037D34
split-complementary
#030F7D #7D3403 #4C7D03
monochromatic
#01041E #020841 #030F7D #0416B9 #061DF5

Accessibility & contrast

On white

15.35
#030F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#030F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030F7D
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030F7D#FFFFFF#000000##FFFFFF
##030F7D1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B80
Deuteranopia (green-blind)
#001E7B
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #030f7d;
/* rgb */ color: rgb(3, 15, 125);
/* oklch */ color: oklch(28.2% 0.174 265.0);
Tailwind
colors: {
  custom: {
    50: '#6651a4',
    500: '#030f7d',
    950: '#000000',
  },
}
SCSS
$custom: #030f7d;
$custom-light: #6651a4;
$custom-dark: #000000;
JSON
{
  "hex": "#030f7d",
  "rgb": {
    "r": 3,
    "g": 15,
    "b": 125
  },
  "hsl": {
    "h": 234.098,
    "s": 95.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28153,
    "c": 0.17449,
    "h": 265
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#030F7D
secondary
#B7A925
accent
#EA29FF
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#07020F
muted
#7A787F

Preview Lab

Preview with #030F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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