#030740#030740

#030740 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.5% C 0.105 H 267.1°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#030740
RGBrgb(3, 7, 64)
HSLhsl(236, 91%, 13%)
HSVhsv(236, 95%, 25%)
CMYKcmyk(95.3%, 89.1%, 0%, 74.9%)
CIE-LABlab(4.89, 20.91, -35.12)
CIE-LCHlch(4.89, 40.87, 300.77°)
OKLaboklab(18.54% -0.0053 -0.1044)
OKLCHoklch(18.54% 0.105 267.1)
XYZxyz(1.0386, 0.5414, 4.8992)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030740 #403C03
analogous
#032540 #030740 #1D0340
triadic
#030740 #400307 #074003
tetradic
#030740 #400325 #403C03 #03401D
square
#030740 #400325 #403C03 #03401D
split-complementary
#030740 #401D03 #254003
monochromatic
#01031D #01031D #030740 #060D7A #0814B5

Accessibility & contrast

On white

18.95
#030740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#030740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030740
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030740#FFFFFF#000000##FFFFFF
##0307401.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001442
Deuteranopia (green-blind)
#000D3F
Tritanopia (blue-blind)
#001923
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #030740;
/* rgb */ color: rgb(3, 7, 64);
/* oklch */ color: oklch(18.5% 0.105 267.1);
Tailwind
colors: {
  custom: {
    50: '#514876',
    500: '#030740',
    950: '#000000',
  },
}
SCSS
$custom: #030740;
$custom-light: #514876;
$custom-dark: #000000;
JSON
{
  "hex": "#030740",
  "rgb": {
    "r": 3,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 236.066,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18538,
    "c": 0.10453,
    "h": 267.1
  },
  "luminance": 0.00541
}

Semantic roles & 50–950 ramp

primary
#030740
secondary
#827B1D
accent
#F129FF
background
#F4F4F7
surface
#E7E6ED
border
#C3C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #030740

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

Preview Lab → · Contrast checker → · Palette generator →

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