#30459D#30459D

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

Color values

HEX#30459D
RGBrgb(48, 69, 157)
HSLhsl(228, 53%, 40%)
HSVhsv(228, 69%, 62%)
CMYKcmyk(69.4%, 56.1%, 0%, 38.4%)
CIE-LABlab(32.52, 22.34, -50.43)
CIE-LCHlch(32.52, 55.15, 293.89°)
OKLaboklab(42.67% -0.002 -0.1451)
OKLCHoklch(42.67% 0.145 269.2)
XYZxyz(9.4308, 7.3180, 32.8073)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30459D #9D8830
analogous
#307C9D #30459D #51309D
triadic
#30459D #9D3045 #459D30
tetradic
#30459D #9D307C #9D8830 #309D51
square
#30459D #9D307C #9D8830 #309D51
split-complementary
#30459D #9D5130 #7C9D30
monochromatic
#131C3F #22306E #30459D #445DC6 #7386D4

Accessibility & contrast

On white

8.52
#30459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30459D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30459D#FFFFFF#000000##FFFFFF
##30459D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #30459d;
/* rgb */ color: rgb(48, 69, 157);
/* oklch */ color: oklch(42.7% 0.145 269.2);
Tailwind
colors: {
  custom: {
    50: '#7678bb',
    500: '#30459d',
    950: '#000000',
  },
}
SCSS
$custom: #30459d;
$custom-light: #7678bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30459d",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 228.44,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4267,
    "c": 0.14511,
    "h": 269.2
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#30459D
secondary
#BCAD6D
accent
#C14BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #30459D

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

Preview Lab → · Contrast checker → · Palette generator →

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