#30358D#30358D

#30358D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.143 H 274.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#30358D
RGBrgb(48, 53, 141)
HSLhsl(237, 49%, 37%)
HSVhsv(237, 66%, 55%)
CMYKcmyk(66%, 62.4%, 0%, 44.7%)
CIE-LABlab(27.01, 27.13, -49.60)
CIE-LCHlch(27.01, 56.53, 298.68°)
OKLaboklab(38.17% 0.0121 -0.1428)
OKLCHoklch(38.17% 0.143 274.8)
XYZxyz(7.2982, 5.0971, 25.7934)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30358D #8D8830
analogous
#30648D #30358D #5A308D
triadic
#30358D #8D3035 #358D30
tetradic
#30358D #8D3064 #8D8830 #308D5A
square
#30358D #8D3064 #8D8830 #308D5A
split-complementary
#30358D #8D5A30 #648D30
monochromatic
#111332 #20245F #30358D #4046BB #6B70CD

Accessibility & contrast

On white

10.40
#30358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#30358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30358D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30358D#FFFFFF#000000##FFFFFF
##30358D1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #30358d;
/* rgb */ color: rgb(48, 53, 141);
/* oklch */ color: oklch(38.2% 0.143 274.8);
Tailwind
colors: {
  custom: {
    50: '#746caf',
    500: '#30358d',
    950: '#000000',
  },
}
SCSS
$custom: #30358d;
$custom-light: #746caf;
$custom-dark: #000000;
JSON
{
  "hex": "#30358d",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 236.774,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38168,
    "c": 0.14335,
    "h": 274.8
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#30358D
secondary
#B4B065
accent
#D14FD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30358D

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

Preview Lab → · Contrast checker → · Palette generator →

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