#30458E#30458E

#30458E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.123 H 268.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#30458E
RGBrgb(48, 69, 142)
HSLhsl(227, 49%, 37%)
HSVhsv(227, 66%, 56%)
CMYKcmyk(66.2%, 51.4%, 0%, 44.3%)
CIE-LABlab(31.43, 16.73, -43.05)
CIE-LCHlch(31.43, 46.18, 291.24°)
OKLaboklab(41.5% -0.0032 -0.1234)
OKLCHoklch(41.5% 0.123 268.5)
XYZxyz(8.2279, 6.8369, 26.4720)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30458E #8E7930
analogous
#30748E #30458E #4A308E
triadic
#30458E #8E3045 #458E30
tetradic
#30458E #8E3074 #8E7930 #308E4A
square
#30458E #8E3074 #8E7930 #308E4A
split-complementary
#30458E #8E4A30 #748E30
monochromatic
#111933 #212F60 #30458E #3F5BBC #6B81CD

Accessibility & contrast

On white

8.87
#30458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#30458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30458E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30458E#FFFFFF#000000##FFFFFF
##30458E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#01468C
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #30458e;
/* rgb */ color: rgb(48, 69, 142);
/* oklch */ color: oklch(41.5% 0.123 268.5);
Tailwind
colors: {
  custom: {
    50: '#7378b0',
    500: '#30458e',
    950: '#000000',
  },
}
SCSS
$custom: #30458e;
$custom-light: #7378b0;
$custom-dark: #000000;
JSON
{
  "hex": "#30458e",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 226.596,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41503,
    "c": 0.12342,
    "h": 268.5
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#30458E
secondary
#B4A365
accent
#BA4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30458E

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

Preview Lab → · Contrast checker → · Palette generator →

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