#30498D#30498D

#30498D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.3% C 0.117 H 266.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#30498D
RGBrgb(48, 73, 141)
HSLhsl(224, 49%, 37%)
HSVhsv(224, 66%, 55%)
CMYKcmyk(66%, 48.2%, 0%, 44.7%)
CIE-LABlab(32.52, 13.66, -40.69)
CIE-LCHlch(32.52, 42.92, 288.56°)
OKLaboklab(42.31% -0.0075 -0.1164)
OKLCHoklch(42.31% 0.117 266.3)
XYZxyz(8.4075, 7.3158, 26.1632)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30498D #8D7430
analogous
#30788D #30498D #46308D
triadic
#30498D #8D3049 #498D30
tetradic
#30498D #8D3078 #8D7430 #308D46
square
#30498D #8D3078 #8D7430 #308D46
split-complementary
#30498D #8D4630 #788D30
monochromatic
#111A32 #20315F #30498D #4061BB #6B85CD

Accessibility & contrast

On white

8.52
#30498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#30498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30498D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30498D#FFFFFF#000000##FFFFFF
##30498D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30498d;
/* rgb */ color: rgb(48, 73, 141);
/* oklch */ color: oklch(42.3% 0.117 266.3);
Tailwind
colors: {
  custom: {
    50: '#727baf',
    500: '#30498d',
    950: '#000000',
  },
}
SCSS
$custom: #30498d;
$custom-light: #727baf;
$custom-dark: #000000;
JSON
{
  "hex": "#30498d",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 223.871,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42306,
    "c": 0.11664,
    "h": 266.3
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#30498D
secondary
#B49F65
accent
#B44FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #30498D

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

Preview Lab → · Contrast checker → · Palette generator →

#30498D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva