#30488F#30488F

#30488F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.121 H 267.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#30488F
RGBrgb(48, 72, 143)
HSLhsl(225, 50%, 37%)
HSVhsv(225, 66%, 56%)
CMYKcmyk(66.4%, 49.7%, 0%, 43.9%)
CIE-LABlab(32.36, 15.08, -42.17)
CIE-LCHlch(32.36, 44.78, 289.68°)
OKLaboklab(42.23% -0.0061 -0.1207)
OKLCHoklch(42.23% 0.121 267.1)
XYZxyz(8.4925, 7.2455, 26.9322)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30488F #8F7730
analogous
#30788F #30488F #47308F
triadic
#30488F #8F3048 #488F30
tetradic
#30488F #8F3078 #8F7730 #308F47
square
#30488F #8F3078 #8F7730 #308F47
split-complementary
#30488F #8F4730 #788F30
monochromatic
#111A33 #213161 #30488F #3F5FBD #6C85CE

Accessibility & contrast

On white

8.57
#30488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#30488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30488F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30488F#FFFFFF#000000##FFFFFF
##30488F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#0D488E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30488f;
/* rgb */ color: rgb(48, 72, 143);
/* oklch */ color: oklch(42.2% 0.121 267.1);
Tailwind
colors: {
  custom: {
    50: '#737ab0',
    500: '#30488f',
    950: '#000000',
  },
}
SCSS
$custom: #30488f;
$custom-light: #737ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#30488f",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 224.842,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.12091,
    "h": 267.1
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#30488F
secondary
#B5A166
accent
#B64FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #30488F

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

Preview Lab → · Contrast checker → · Palette generator →

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