#30458C#30458C

#30458C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.120 H 268.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#30458C
RGBrgb(48, 69, 140)
HSLhsl(226, 49%, 37%)
HSVhsv(226, 66%, 55%)
CMYKcmyk(65.7%, 50.7%, 0%, 45.1%)
CIE-LABlab(31.29, 15.99, -42.04)
CIE-LCHlch(31.29, 44.98, 290.82°)
OKLaboklab(41.35% -0.0035 -0.1204)
OKLCHoklch(41.35% 0.12 268.3)
XYZxyz(8.0791, 6.7773, 25.6883)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30458C #8C7730
analogous
#30738C #30458C #49308C
triadic
#30458C #8C3045 #458C30
tetradic
#30458C #8C3073 #8C7730 #308C49
square
#30458C #8C3073 #8C7730 #308C49
split-complementary
#30458C #8C4930 #738C30
monochromatic
#111831 #202F5E #30458C #405BBA #6A81CC

Accessibility & contrast

On white

8.91
#30458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#30458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30458C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30458C#FFFFFF#000000##FFFFFF
##30458C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#08468B
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #30458c;
/* rgb */ color: rgb(48, 69, 140);
/* oklch */ color: oklch(41.4% 0.120 268.3);
Tailwind
colors: {
  custom: {
    50: '#7278ae',
    500: '#30458c',
    950: '#000000',
  },
}
SCSS
$custom: #30458c;
$custom-light: #7278ae;
$custom-dark: #000000;
JSON
{
  "hex": "#30458c",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 226.304,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41354,
    "c": 0.12047,
    "h": 268.3
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#30458C
secondary
#B3A164
accent
#B94FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30458C

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

Preview Lab → · Contrast checker → · Palette generator →

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