#30488E#30488E

#30488E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.2% C 0.119 H 267.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#30488E
RGBrgb(48, 72, 142)
HSLhsl(225, 49%, 37%)
HSVhsv(225, 66%, 56%)
CMYKcmyk(66.2%, 49.3%, 0%, 44.3%)
CIE-LABlab(32.29, 14.71, -41.66)
CIE-LCHlch(32.29, 44.18, 289.45°)
OKLaboklab(42.16% -0.0063 -0.1193)
OKLCHoklch(42.16% 0.119 267)
XYZxyz(8.4171, 7.2153, 26.5351)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30488E #8E7630
analogous
#30778E #30488E #47308E
triadic
#30488E #8E3048 #488E30
tetradic
#30488E #8E3077 #8E7630 #308E47
square
#30488E #8E3077 #8E7630 #308E47
split-complementary
#30488E #8E4730 #778E30
monochromatic
#111A33 #213160 #30488E #3F5FBC #6B84CD

Accessibility & contrast

On white

8.60
#30488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30488E
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30488E#FFFFFF#000000##FFFFFF
##30488E1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30488e;
/* rgb */ color: rgb(48, 72, 142);
/* oklch */ color: oklch(42.2% 0.119 267.0);
Tailwind
colors: {
  custom: {
    50: '#737aaf',
    500: '#30488e',
    950: '#000000',
  },
}
SCSS
$custom: #30488e;
$custom-light: #737aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#30488e",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 224.681,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42157,
    "c": 0.11944,
    "h": 267
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30488E

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

Preview Lab → · Contrast checker → · Palette generator →

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