#30489B#30489B

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

Color values

HEX#30489B
RGBrgb(48, 72, 155)
HSLhsl(227, 53%, 40%)
HSVhsv(227, 69%, 61%)
CMYKcmyk(69%, 53.5%, 0%, 39.2%)
CIE-LABlab(33.20, 19.58, -48.12)
CIE-LCHlch(33.20, 51.95, 292.14°)
OKLaboklab(43.13% -0.0048 -0.1383)
OKLCHoklch(43.13% 0.138 268)
XYZxyz(9.4506, 7.6288, 31.9784)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30489B #9B8330
analogous
#307E9B #30489B #4E309B
triadic
#30489B #9B3048 #489B30
tetradic
#30489B #9B307E #9B8330 #309B4E
square
#30489B #9B307E #9B8330 #309B4E
split-complementary
#30489B #9B4E30 #7E9B30
monochromatic
#131D3E #22326C #30489B #4360C5 #7288D3

Accessibility & contrast

On white

8.31
#30489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#30489B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30489B
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30489B#FFFFFF#000000##FFFFFF
##30489B1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30489b;
/* rgb */ color: rgb(48, 72, 155);
/* oklch */ color: oklch(43.1% 0.138 268.0);
Tailwind
colors: {
  custom: {
    50: '#757ab9',
    500: '#30489b',
    950: '#000000',
  },
}
SCSS
$custom: #30489b;
$custom-light: #757ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#30489b",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 226.542,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43134,
    "c": 0.13835,
    "h": 268
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#30489B
secondary
#BBA96C
accent
#BC4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #30489B

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

Preview Lab → · Contrast checker → · Palette generator →

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