#30488B#30488B

#30488B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.115 H 266.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#30488B
RGBrgb(48, 72, 139)
HSLhsl(224, 49%, 37%)
HSVhsv(224, 65%, 55%)
CMYKcmyk(65.5%, 48.2%, 0%, 45.5%)
CIE-LABlab(32.09, 13.59, -40.14)
CIE-LCHlch(32.09, 42.38, 288.70°)
OKLaboklab(41.94% -0.0067 -0.1148)
OKLCHoklch(41.94% 0.115 266.6)
XYZxyz(8.1949, 7.1264, 25.3648)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30488B #8B7330
analogous
#30768B #30488B #46308B
triadic
#30488B #8B3048 #488B30
tetradic
#30488B #8B3076 #8B7330 #308B46
square
#30488B #8B3076 #8B7330 #308B46
split-complementary
#30488B #8B4630 #768B30
monochromatic
#111930 #20305E #30488B #4060B8 #6A84CC

Accessibility & contrast

On white

8.66
#30488B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#30488B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30488B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30488B#FFFFFF#000000##FFFFFF
##30488B1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508D
Deuteranopia (green-blind)
#16488A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #30488b;
/* rgb */ color: rgb(48, 72, 139);
/* oklch */ color: oklch(41.9% 0.115 266.6);
Tailwind
colors: {
  custom: {
    50: '#727aad',
    500: '#30488b',
    950: '#000000',
  },
}
SCSS
$custom: #30488b;
$custom-light: #727aad;
$custom-dark: #000000;
JSON
{
  "hex": "#30488b",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 224.176,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.115,
    "h": 266.6
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#30488B
secondary
#B39E64
accent
#B450D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #30488B

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

Preview Lab → · Contrast checker → · Palette generator →

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