#30459C#30459C

#30459C is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.144 H 269.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#30459C
RGBrgb(48, 69, 156)
HSLhsl(228, 53%, 40%)
HSVhsv(228, 69%, 61%)
CMYKcmyk(69.2%, 55.8%, 0%, 38.8%)
CIE-LABlab(32.44, 21.96, -49.94)
CIE-LCHlch(32.44, 54.56, 293.74°)
OKLaboklab(42.59% -0.002 -0.1437)
OKLCHoklch(42.59% 0.144 269.2)
XYZxyz(9.3457, 7.2840, 32.3595)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30459C #9C8730
analogous
#307B9C #30459C #51309C
triadic
#30459C #9C3045 #459C30
tetradic
#30459C #9C307B #9C8730 #309C51
square
#30459C #9C307B #9C8730 #309C51
split-complementary
#30459C #9C5130 #7B9C30
monochromatic
#131C3E #22306D #30459C #445DC5 #7386D4

Accessibility & contrast

On white

8.55
#30459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#30459C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30459C
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30459C#FFFFFF#000000##FFFFFF
##30459C1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30459c;
/* rgb */ color: rgb(48, 69, 156);
/* oklch */ color: oklch(42.6% 0.144 269.2);
Tailwind
colors: {
  custom: {
    50: '#7678ba',
    500: '#30459c',
    950: '#000000',
  },
}
SCSS
$custom: #30459c;
$custom-light: #7678ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30459c",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 228.333,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.4259,
    "c": 0.14369,
    "h": 269.2
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#30459C
secondary
#BCAC6C
accent
#C04BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #30459C

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

Preview Lab → · Contrast checker → · Palette generator →

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