#30459A#30459A

#30459A is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.141 H 269.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#30459A
RGBrgb(48, 69, 154)
HSLhsl(228, 52%, 40%)
HSVhsv(228, 69%, 60%)
CMYKcmyk(68.8%, 55.2%, 0%, 39.6%)
CIE-LABlab(32.30, 21.22, -48.97)
CIE-LCHlch(32.30, 53.37, 293.42°)
OKLaboklab(42.43% -0.0021 -0.1408)
OKLCHoklch(42.43% 0.141 269.1)
XYZxyz(9.1778, 7.2168, 31.4749)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30459A #9A8530
analogous
#307A9A #30459A #50309A
triadic
#30459A #9A3045 #459A30
tetradic
#30459A #9A307A #9A8530 #309A50
square
#30459A #9A307A #9A8530 #309A50
split-complementary
#30459A #9A5030 #7A9A30
monochromatic
#131B3D #21306B #30459A #435DC4 #7285D3

Accessibility & contrast

On white

8.59
#30459A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#30459A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30459A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30459A#FFFFFF#000000##FFFFFF
##30459A1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03519D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30459a;
/* rgb */ color: rgb(48, 69, 154);
/* oklch */ color: oklch(42.4% 0.141 269.1);
Tailwind
colors: {
  custom: {
    50: '#7578b8',
    500: '#30459a',
    950: '#000000',
  },
}
SCSS
$custom: #30459a;
$custom-light: #7578b8;
$custom-dark: #000000;
JSON
{
  "hex": "#30459a",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 228.113,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.14084,
    "h": 269.1
  },
  "luminance": 0.07218
}

Semantic roles & 50–950 ramp

primary
#30459A
secondary
#BBAB6B
accent
#BF4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #30459A

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

Preview Lab → · Contrast checker → · Palette generator →

#30459A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva