#30487A#30487A

#30487A is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.089 H 263.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#30487A
RGBrgb(48, 72, 122)
HSLhsl(221, 44%, 33%)
HSVhsv(221, 61%, 48%)
CMYKcmyk(60.7%, 41%, 0%, 52.2%)
CIE-LABlab(31.04, 7.31, -31.29)
CIE-LCHlch(31.04, 32.14, 283.15°)
OKLaboklab(40.79% -0.01 -0.0888)
OKLCHoklch(40.79% 0.089 263.6)
XYZxyz(7.0479, 6.6677, 19.3242)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30487A #7A6230
analogous
#306D7A #30487A #3D307A
triadic
#30487A #7A3048 #487A30
tetradic
#30487A #7A306D #7A6230 #307A3D
square
#30487A #7A306D #7A6230 #307A3D
split-complementary
#30487A #7A3D30 #6D7A30
monochromatic
#0D1422 #1F2E4E #30487A #4162A6 #6382C2

Accessibility & contrast

On white

9.00
#30487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#30487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30487A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30487A#FFFFFF#000000##FFFFFF
##30487A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30487a;
/* rgb */ color: rgb(48, 72, 122);
/* oklch */ color: oklch(40.8% 0.089 263.6);
Tailwind
colors: {
  custom: {
    50: '#6f7aa1',
    500: '#30487a',
    950: '#000000',
  },
}
SCSS
$custom: #30487a;
$custom-light: #6f7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#30487a",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 220.541,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40789,
    "c": 0.08939,
    "h": 263.6
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#30487A
secondary
#A9905D
accent
#AA55D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #30487A

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

Preview Lab → · Contrast checker → · Palette generator →

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