#30489E#30489E

#30489E is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.143 H 268.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#30489E
RGBrgb(48, 72, 158)
HSLhsl(227, 53%, 40%)
HSVhsv(227, 70%, 62%)
CMYKcmyk(69.6%, 54.4%, 0%, 38%)
CIE-LABlab(33.42, 20.70, -49.58)
CIE-LCHlch(33.42, 53.73, 292.67°)
OKLaboklab(43.37% -0.0046 -0.1426)
OKLCHoklch(43.37% 0.143 268.2)
XYZxyz(9.7057, 7.7308, 33.3218)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30489E #9E8630
analogous
#307F9E #30489E #4F309E
triadic
#30489E #9E3048 #489E30
tetradic
#30489E #9E307F #9E8630 #309E4F
square
#30489E #9E307F #9E8630 #309E4F
split-complementary
#30489E #9E4F30 #7F9E30
monochromatic
#131D40 #22336F #30489E #4561C6 #7489D5

Accessibility & contrast

On white

8.25
#30489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#30489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30489E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30489E#FFFFFF#000000##FFFFFF
##30489E1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0954A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #30489e;
/* rgb */ color: rgb(48, 72, 158);
/* oklch */ color: oklch(43.4% 0.143 268.2);
Tailwind
colors: {
  custom: {
    50: '#767abb',
    500: '#30489e',
    950: '#000000',
  },
}
SCSS
$custom: #30489e;
$custom-light: #767abb;
$custom-dark: #000000;
JSON
{
  "hex": "#30489e",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 226.909,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.14263,
    "h": 268.2
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#30489E
secondary
#BDAB6D
accent
#BD4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #30489E

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

Preview Lab → · Contrast checker → · Palette generator →

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