#30488C#30488C

#30488C is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.116 H 266.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#30488C
RGBrgb(48, 72, 140)
HSLhsl(224, 49%, 37%)
HSVhsv(224, 66%, 55%)
CMYKcmyk(65.7%, 48.6%, 0%, 45.1%)
CIE-LABlab(32.16, 13.96, -40.65)
CIE-LCHlch(32.16, 42.98, 288.96°)
OKLaboklab(42.01% -0.0066 -0.1163)
OKLCHoklch(42.01% 0.116 266.8)
XYZxyz(8.2683, 7.1558, 25.7513)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30488C #8C7430
analogous
#30768C #30488C #46308C
triadic
#30488C #8C3048 #488C30
tetradic
#30488C #8C3076 #8C7430 #308C46
square
#30488C #8C3076 #8C7430 #308C46
split-complementary
#30488C #8C4630 #768C30
monochromatic
#111931 #20315E #30488C #405FBA #6A84CC

Accessibility & contrast

On white

8.64
#30488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30488C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30488C#FFFFFF#000000##FFFFFF
##30488C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30488c;
/* rgb */ color: rgb(48, 72, 140);
/* oklch */ color: oklch(42.0% 0.116 266.8);
Tailwind
colors: {
  custom: {
    50: '#727aae',
    500: '#30488c',
    950: '#000000',
  },
}
SCSS
$custom: #30488c;
$custom-light: #727aae;
$custom-dark: #000000;
JSON
{
  "hex": "#30488c",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 224.348,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.11648,
    "h": 266.8
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#30488C
secondary
#B39F64
accent
#B54FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #30488C

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

Preview Lab → · Contrast checker → · Palette generator →

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