#30489F#30489F

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

Color values

HEX#30489F
RGBrgb(48, 72, 159)
HSLhsl(227, 54%, 41%)
HSVhsv(227, 70%, 62%)
CMYKcmyk(69.8%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.49, 21.08, -50.06)
CIE-LCHlch(33.49, 54.32, 292.83°)
OKLaboklab(43.45% -0.0045 -0.144)
OKLCHoklch(43.45% 0.144 268.2)
XYZxyz(9.7921, 7.7654, 33.7770)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30489F #9F8730
analogous
#307F9F #30489F #4F309F
triadic
#30489F #9F3048 #489F30
tetradic
#30489F #9F307F #9F8730 #309F4F
square
#30489F #9F307F #9F8730 #309F4F
split-complementary
#30489F #9F4F30 #7F9F30
monochromatic
#141D41 #223370 #30489F #4561C7 #7489D5

Accessibility & contrast

On white

8.22
#30489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30489F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30489F#FFFFFF#000000##FFFFFF
##30489F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0654A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #30489f;
/* rgb */ color: rgb(48, 72, 159);
/* oklch */ color: oklch(43.4% 0.144 268.2);
Tailwind
colors: {
  custom: {
    50: '#767abc',
    500: '#30489f',
    950: '#000000',
  },
}
SCSS
$custom: #30489f;
$custom-light: #767abc;
$custom-dark: #000000;
JSON
{
  "hex": "#30489f",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 227.027,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43447,
    "c": 0.14406,
    "h": 268.2
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30489F

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

Preview Lab → · Contrast checker → · Palette generator →

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