#30458F#30458F

#30458F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.125 H 268.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#30458F
RGBrgb(48, 69, 143)
HSLhsl(227, 50%, 37%)
HSVhsv(227, 66%, 56%)
CMYKcmyk(66.4%, 51.7%, 0%, 43.9%)
CIE-LABlab(31.50, 17.11, -43.55)
CIE-LCHlch(31.50, 46.79, 291.45°)
OKLaboklab(41.58% -0.0031 -0.1249)
OKLCHoklch(41.58% 0.125 268.6)
XYZxyz(8.3033, 6.8670, 26.8692)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30458F #8F7A30
analogous
#30748F #30458F #4B308F
triadic
#30458F #8F3045 #458F30
tetradic
#30458F #8F3074 #8F7A30 #308F4B
square
#30458F #8F3074 #8F7A30 #308F4B
split-complementary
#30458F #8F4B30 #748F30
monochromatic
#111933 #212F61 #30458F #3F5BBD #6C81CE

Accessibility & contrast

On white

8.85
#30458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30458F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30458F#FFFFFF#000000##FFFFFF
##30458F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #30458f;
/* rgb */ color: rgb(48, 69, 143);
/* oklch */ color: oklch(41.6% 0.125 268.6);
Tailwind
colors: {
  custom: {
    50: '#7378b0',
    500: '#30458f',
    950: '#000000',
  },
}
SCSS
$custom: #30458f;
$custom-light: #7378b0;
$custom-dark: #000000;
JSON
{
  "hex": "#30458f",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 226.737,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41579,
    "c": 0.1249,
    "h": 268.6
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#30458F
secondary
#B5A366
accent
#BB4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30458F

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

Preview Lab → · Contrast checker → · Palette generator →

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