#30488D#30488D

#30488D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.118 H 266.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#30488D
RGBrgb(48, 72, 141)
HSLhsl(225, 49%, 37%)
HSVhsv(225, 66%, 55%)
CMYKcmyk(66%, 48.9%, 0%, 44.7%)
CIE-LABlab(32.23, 14.34, -41.16)
CIE-LCHlch(32.23, 43.58, 289.21°)
OKLaboklab(42.09% -0.0064 -0.1178)
OKLCHoklch(42.09% 0.118 266.9)
XYZxyz(8.3424, 7.1854, 26.1414)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30488D #8D7530
analogous
#30778D #30488D #47308D
triadic
#30488D #8D3048 #488D30
tetradic
#30488D #8D3077 #8D7530 #308D47
square
#30488D #8D3077 #8D7530 #308D47
split-complementary
#30488D #8D4730 #778D30
monochromatic
#111932 #20315F #30488D #405FBB #6B84CD

Accessibility & contrast

On white

8.62
#30488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#30488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30488D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30488D#FFFFFF#000000##FFFFFF
##30488D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30488d;
/* rgb */ color: rgb(48, 72, 141);
/* oklch */ color: oklch(42.1% 0.118 266.9);
Tailwind
colors: {
  custom: {
    50: '#737aaf',
    500: '#30488d',
    950: '#000000',
  },
}
SCSS
$custom: #30488d;
$custom-light: #737aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#30488d",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 224.516,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.11796,
    "h": 266.9
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#30488D
secondary
#B4A065
accent
#B54FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #30488D

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

Preview Lab → · Contrast checker → · Palette generator →

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