#30487D#30487D

#30487D is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.094 H 264.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#30487D
RGBrgb(48, 72, 125)
HSLhsl(221, 45%, 34%)
HSVhsv(221, 62%, 49%)
CMYKcmyk(61.6%, 42.4%, 0%, 51%)
CIE-LABlab(31.21, 8.41, -32.88)
CIE-LCHlch(31.21, 33.94, 284.34°)
OKLaboklab(40.98% -0.0093 -0.0935)
OKLCHoklch(40.98% 0.094 264.3)
XYZxyz(7.2367, 6.7432, 20.3183)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30487D #7D6530
analogous
#306F7D #30487D #3F307D
triadic
#30487D #7D3048 #487D30
tetradic
#30487D #7D306F #7D6530 #307D3F
square
#30487D #7D306F #7D6530 #307D3F
split-complementary
#30487D #7D3F30 #6F7D30
monochromatic
#0E1525 #1F2F51 #30487D #4161A9 #6482C3

Accessibility & contrast

On white

8.94
#30487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#30487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30487D
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30487D#FFFFFF#000000##FFFFFF
##30487D1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30487d;
/* rgb */ color: rgb(48, 72, 125);
/* oklch */ color: oklch(41.0% 0.094 264.3);
Tailwind
colors: {
  custom: {
    50: '#707aa3',
    500: '#30487d',
    950: '#000000',
  },
}
SCSS
$custom: #30487d;
$custom-light: #707aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#30487d",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 221.299,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.09396,
    "h": 264.3
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#30487D
secondary
#AB935E
accent
#AC54D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #30487D

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

Preview Lab → · Contrast checker → · Palette generator →

#30487D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva