#30358F#30358F

#30358F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.146 H 274.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#30358F
RGBrgb(48, 53, 143)
HSLhsl(237, 50%, 37%)
HSVhsv(237, 66%, 56%)
CMYKcmyk(66.4%, 62.9%, 0%, 43.9%)
CIE-LABlab(27.18, 27.85, -50.56)
CIE-LCHlch(27.18, 57.72, 298.85°)
OKLaboklab(38.34% 0.012 -0.1457)
OKLCHoklch(38.34% 0.146 274.7)
XYZxyz(7.4483, 5.1571, 26.5842)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30358F #8F8A30
analogous
#30658F #30358F #5A308F
triadic
#30358F #8F3035 #358F30
tetradic
#30358F #8F3065 #8F8A30 #308F5A
square
#30358F #8F3065 #8F8A30 #308F5A
split-complementary
#30358F #8F5A30 #658F30
monochromatic
#111333 #212461 #30358F #3F46BD #6C71CE

Accessibility & contrast

On white

10.34
#30358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#30358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30358F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30358F#FFFFFF#000000##FFFFFF
##30358F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #30358f;
/* rgb */ color: rgb(48, 53, 143);
/* oklch */ color: oklch(38.3% 0.146 274.7);
Tailwind
colors: {
  custom: {
    50: '#746cb1',
    500: '#30358f',
    950: '#000000',
  },
}
SCSS
$custom: #30358f;
$custom-light: #746cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#30358f",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 236.842,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38344,
    "c": 0.14616,
    "h": 274.7
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#30358F
secondary
#B5B166
accent
#D24FD9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #30358F

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

Preview Lab → · Contrast checker → · Palette generator →

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