#30458D#30458D

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

Color values

HEX#30458D
RGBrgb(48, 69, 141)
HSLhsl(226, 49%, 37%)
HSVhsv(226, 66%, 55%)
CMYKcmyk(66%, 51.1%, 0%, 44.7%)
CIE-LABlab(31.36, 16.36, -42.54)
CIE-LCHlch(31.36, 45.58, 291.03°)
OKLaboklab(41.43% -0.0033 -0.1219)
OKLCHoklch(41.43% 0.122 268.4)
XYZxyz(8.1531, 6.8070, 26.0784)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30458D #8D7830
analogous
#30738D #30458D #4A308D
triadic
#30458D #8D3045 #458D30
tetradic
#30458D #8D3073 #8D7830 #308D4A
square
#30458D #8D3073 #8D7830 #308D4A
split-complementary
#30458D #8D4A30 #738D30
monochromatic
#111832 #202F5F #30458D #405BBB #6B81CD

Accessibility & contrast

On white

8.89
#30458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30458D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30458D#FFFFFF#000000##FFFFFF
##30458D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#04468C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #30458d;
/* rgb */ color: rgb(48, 69, 141);
/* oklch */ color: oklch(41.4% 0.122 268.4);
Tailwind
colors: {
  custom: {
    50: '#7378af',
    500: '#30458d',
    950: '#000000',
  },
}
SCSS
$custom: #30458d;
$custom-light: #7378af;
$custom-dark: #000000;
JSON
{
  "hex": "#30458d",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 226.452,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41429,
    "c": 0.12196,
    "h": 268.4
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#30458D
secondary
#B4A265
accent
#BA4FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30458D

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

Preview Lab → · Contrast checker → · Palette generator →

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