#30489A#30489A

#30489A is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.137 H 267.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#30489A
RGBrgb(48, 72, 154)
HSLhsl(226, 52%, 40%)
HSVhsv(226, 69%, 60%)
CMYKcmyk(68.8%, 53.2%, 0%, 39.6%)
CIE-LABlab(33.13, 19.21, -47.63)
CIE-LCHlch(33.13, 51.36, 291.96°)
OKLaboklab(43.06% -0.0049 -0.1368)
OKLCHoklch(43.06% 0.137 267.9)
XYZxyz(9.3670, 7.5953, 31.5380)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30489A #9A8230
analogous
#307D9A #30489A #4D309A
triadic
#30489A #9A3048 #489A30
tetradic
#30489A #9A307D #9A8230 #309A4D
square
#30489A #9A307D #9A8230 #309A4D
split-complementary
#30489A #9A4D30 #7D9A30
monochromatic
#131C3D #21326B #30489A #4360C4 #7288D3

Accessibility & contrast

On white

8.34
#30489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#30489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30489A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30489A#FFFFFF#000000##FFFFFF
##30489A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13539D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30489a;
/* rgb */ color: rgb(48, 72, 154);
/* oklch */ color: oklch(43.1% 0.137 267.9);
Tailwind
colors: {
  custom: {
    50: '#757ab8',
    500: '#30489a',
    950: '#000000',
  },
}
SCSS
$custom: #30489a;
$custom-light: #757ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#30489a",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 226.415,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.13692,
    "h": 267.9
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#30489A
secondary
#BBA96B
accent
#BB4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #30489A

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

Preview Lab → · Contrast checker → · Palette generator →

#30489A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva