#30459F#30459F

#30459F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.148 H 269.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#30459F
RGBrgb(48, 69, 159)
HSLhsl(229, 54%, 41%)
HSVhsv(229, 70%, 62%)
CMYKcmyk(69.8%, 56.6%, 0%, 37.6%)
CIE-LABlab(32.67, 23.08, -51.39)
CIE-LCHlch(32.67, 56.33, 294.19°)
OKLaboklab(42.83% -0.0019 -0.1479)
OKLCHoklch(42.83% 0.148 269.3)
XYZxyz(9.6029, 7.3869, 33.7139)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30459F #9F8A30
analogous
#307C9F #30459F #53309F
triadic
#30459F #9F3045 #459F30
tetradic
#30459F #9F307C #9F8A30 #309F53
square
#30459F #9F307C #9F8A30 #309F53
split-complementary
#30459F #9F5330 #7C9F30
monochromatic
#141C41 #223170 #30459F #455EC7 #7487D5

Accessibility & contrast

On white

8.48
#30459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#30459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30459F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30459F#FFFFFF#000000##FFFFFF
##30459F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #30459f;
/* rgb */ color: rgb(48, 69, 159);
/* oklch */ color: oklch(42.8% 0.148 269.3);
Tailwind
colors: {
  custom: {
    50: '#7678bc',
    500: '#30459f',
    950: '#000000',
  },
}
SCSS
$custom: #30459f;
$custom-light: #7678bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30459f",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 228.649,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.14794,
    "h": 269.3
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30459F

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

Preview Lab → · Contrast checker → · Palette generator →

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