#30487B#30487B

#30487B is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.091 H 263.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#30487B
RGBrgb(48, 72, 123)
HSLhsl(221, 44%, 34%)
HSVhsv(221, 61%, 48%)
CMYKcmyk(61%, 41.5%, 0%, 51.8%)
CIE-LABlab(31.10, 7.67, -31.83)
CIE-LCHlch(31.10, 32.74, 283.56°)
OKLaboklab(40.85% -0.0098 -0.0904)
OKLCHoklch(40.85% 0.091 263.8)
XYZxyz(7.1102, 6.6926, 19.6522)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30487B #7B6330
analogous
#306D7B #30487B #3D307B
triadic
#30487B #7B3048 #487B30
tetradic
#30487B #7B306D #7B6330 #307B3D
square
#30487B #7B306D #7B6330 #307B3D
split-complementary
#30487B #7B3D30 #6D7B30
monochromatic
#0E1423 #1F2E4F #30487B #4162A7 #6382C2

Accessibility & contrast

On white

8.98
#30487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#30487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30487B
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30487B#FFFFFF#000000##FFFFFF
##30487B1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#28467A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30487b;
/* rgb */ color: rgb(48, 72, 123);
/* oklch */ color: oklch(40.9% 0.091 263.8);
Tailwind
colors: {
  custom: {
    50: '#6f7aa1',
    500: '#30487b',
    950: '#000000',
  },
}
SCSS
$custom: #30487b;
$custom-light: #6f7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#30487b",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 220.8,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.09092,
    "h": 263.8
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#30487B
secondary
#A9915D
accent
#AB54D4
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #30487B

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

Preview Lab → · Contrast checker → · Palette generator →

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