#30487E#30487E

#30487E is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.095 H 264.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#30487E
RGBrgb(48, 72, 126)
HSLhsl(222, 45%, 34%)
HSVhsv(222, 62%, 49%)
CMYKcmyk(61.9%, 42.9%, 0%, 50.6%)
CIE-LABlab(31.27, 8.77, -33.41)
CIE-LCHlch(31.27, 34.54, 284.71°)
OKLaboklab(41.05% -0.0091 -0.095)
OKLCHoklch(41.05% 0.095 264.5)
XYZxyz(7.3009, 6.7689, 20.6564)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30487E #7E6630
analogous
#306F7E #30487E #3F307E
triadic
#30487E #7E3048 #487E30
tetradic
#30487E #7E306F #7E6630 #307E3F
square
#30487E #7E306F #7E6630 #307E3F
split-complementary
#30487E #7E3F30 #6F7E30
monochromatic
#0E1525 #1F2F52 #30487E #4161AA #6482C4

Accessibility & contrast

On white

8.92
#30487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30487E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30487E#FFFFFF#000000##FFFFFF
##30487E1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #30487e;
/* rgb */ color: rgb(48, 72, 126);
/* oklch */ color: oklch(41.0% 0.095 264.5);
Tailwind
colors: {
  custom: {
    50: '#707aa4',
    500: '#30487e',
    950: '#000000',
  },
}
SCSS
$custom: #30487e;
$custom-light: #707aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#30487e",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 221.538,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.09547,
    "h": 264.5
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#30487E
secondary
#AB945F
accent
#AD53D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #30487E

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

Preview Lab → · Contrast checker → · Palette generator →

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