#30487C#30487C

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

Color values

HEX#30487C
RGBrgb(48, 72, 124)
HSLhsl(221, 44%, 34%)
HSVhsv(221, 61%, 49%)
CMYKcmyk(61.3%, 41.9%, 0%, 51.4%)
CIE-LABlab(31.16, 8.04, -32.36)
CIE-LCHlch(31.16, 33.34, 283.96°)
OKLaboklab(40.92% -0.0096 -0.0919)
OKLCHoklch(40.92% 0.092 264.1)
XYZxyz(7.1731, 6.7177, 19.9835)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30487C #7C6430
analogous
#306E7C #30487C #3E307C
triadic
#30487C #7C3048 #487C30
tetradic
#30487C #7C306E #7C6430 #307C3E
square
#30487C #7C306E #7C6430 #307C3E
split-complementary
#30487C #7C3E30 #6E7C30
monochromatic
#0E1524 #1F2E50 #30487C #4162A8 #6482C3

Accessibility & contrast

On white

8.96
#30487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30487C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30487C#FFFFFF#000000##FFFFFF
##30487C1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30487c;
/* rgb */ color: rgb(48, 72, 124);
/* oklch */ color: oklch(40.9% 0.092 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f7aa2',
    500: '#30487c',
    950: '#000000',
  },
}
SCSS
$custom: #30487c;
$custom-light: #6f7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#30487c",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 221.053,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40918,
    "c": 0.09244,
    "h": 264.1
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#30487C
secondary
#AA925E
accent
#AB54D4
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #30487C

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

Preview Lab → · Contrast checker → · Palette generator →

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