#30489D#30489D

#30489D is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.141 H 268.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#30489D
RGBrgb(48, 72, 157)
HSLhsl(227, 53%, 40%)
HSVhsv(227, 69%, 62%)
CMYKcmyk(69.4%, 54.1%, 0%, 38.4%)
CIE-LABlab(33.34, 20.33, -49.09)
CIE-LCHlch(33.34, 53.14, 292.50°)
OKLaboklab(43.29% -0.0046 -0.1411)
OKLCHoklch(43.29% 0.141 268.1)
XYZxyz(9.6200, 7.6965, 32.8703)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30489D #9D8530
analogous
#307E9D #30489D #4E309D
triadic
#30489D #9D3048 #489D30
tetradic
#30489D #9D307E #9D8530 #309D4E
square
#30489D #9D307E #9D8530 #309D4E
split-complementary
#30489D #9D4E30 #7E9D30
monochromatic
#131D3F #22336E #30489D #4461C6 #7389D4

Accessibility & contrast

On white

8.27
#30489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#30489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30489D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30489D#FFFFFF#000000##FFFFFF
##30489D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C54A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30489d;
/* rgb */ color: rgb(48, 72, 157);
/* oklch */ color: oklch(43.3% 0.141 268.1);
Tailwind
colors: {
  custom: {
    50: '#767abb',
    500: '#30489d',
    950: '#000000',
  },
}
SCSS
$custom: #30489d;
$custom-light: #767abb;
$custom-dark: #000000;
JSON
{
  "hex": "#30489d",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 226.789,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4329,
    "c": 0.14121,
    "h": 268.1
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#30489D
secondary
#BCAB6D
accent
#BD4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #30489D

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

Preview Lab → · Contrast checker → · Palette generator →

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