#30489C#30489C

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

Color values

HEX#30489C
RGBrgb(48, 72, 156)
HSLhsl(227, 53%, 40%)
HSVhsv(227, 69%, 61%)
CMYKcmyk(69.2%, 53.8%, 0%, 38.8%)
CIE-LABlab(33.27, 19.96, -48.61)
CIE-LCHlch(33.27, 52.54, 292.32°)
OKLaboklab(43.21% -0.0047 -0.1397)
OKLCHoklch(43.21% 0.14 268.1)
XYZxyz(9.5350, 7.6625, 32.4226)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30489C #9C8430
analogous
#307E9C #30489C #4E309C
triadic
#30489C #9C3048 #489C30
tetradic
#30489C #9C307E #9C8430 #309C4E
square
#30489C #9C307E #9C8430 #309C4E
split-complementary
#30489C #9C4E30 #7E9C30
monochromatic
#131D3E #22326D #30489C #4461C5 #7388D4

Accessibility & contrast

On white

8.29
#30489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30489C
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30489C#FFFFFF#000000##FFFFFF
##30489C1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30489c;
/* rgb */ color: rgb(48, 72, 156);
/* oklch */ color: oklch(43.2% 0.140 268.1);
Tailwind
colors: {
  custom: {
    50: '#767aba',
    500: '#30489c',
    950: '#000000',
  },
}
SCSS
$custom: #30489c;
$custom-light: #767aba;
$custom-dark: #000000;
JSON
{
  "hex": "#30489c",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 226.667,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.43212,
    "c": 0.13978,
    "h": 268.1
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#30489C
secondary
#BCAA6C
accent
#BC4BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #30489C

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

Preview Lab → · Contrast checker → · Palette generator →

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