#30486F#30486F

#30486F is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.073 H 259.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#30486F
RGBrgb(48, 72, 111)
HSLhsl(217, 40%, 31%)
HSVhsv(217, 57%, 44%)
CMYKcmyk(56.8%, 35.1%, 0%, 56.5%)
CIE-LABlab(30.42, 3.36, -25.36)
CIE-LCHlch(30.42, 25.58, 277.54°)
OKLaboklab(40.11% -0.0129 -0.0715)
OKLCHoklch(40.11% 0.073 259.7)
XYZxyz(6.4046, 6.4103, 15.9357)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30486F #6F5730
analogous
#30676F #30486F #37306F
triadic
#30486F #6F3048 #486F30
tetradic
#30486F #6F3067 #6F5730 #306F37
square
#30486F #6F3067 #6F5730 #306F37
split-complementary
#30486F #6F3730 #676F30
monochromatic
#0B111A #1E2C44 #30486F #42649A #5F82BA

Accessibility & contrast

On white

9.20
#30486F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#30486F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30486F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30486F#FFFFFF#000000##FFFFFF
##30486F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#31456E
Tritanopia (blue-blind)
#0C5156
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30486f;
/* rgb */ color: rgb(48, 72, 111);
/* oklch */ color: oklch(40.1% 0.073 259.7);
Tailwind
colors: {
  custom: {
    50: '#6d7a98',
    500: '#30486f',
    950: '#000000',
  },
}
SCSS
$custom: #30486f;
$custom-light: #6d7a98;
$custom-dark: #000000;
JSON
{
  "hex": "#30486f",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 111
  },
  "hsl": {
    "h": 217.143,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.07266,
    "h": 259.7
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#30486F
secondary
#A0865B
accent
#A258D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #30486F

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

Preview Lab → · Contrast checker → · Palette generator →

#30486F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva