#30358A#30358A

#30358A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.139 H 275.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#30358A
RGBrgb(48, 53, 138)
HSLhsl(237, 48%, 36%)
HSVhsv(237, 65%, 54%)
CMYKcmyk(65.2%, 61.6%, 0%, 45.9%)
CIE-LABlab(26.76, 26.05, -48.14)
CIE-LCHlch(26.76, 54.74, 298.42°)
OKLaboklab(37.91% 0.0122 -0.1386)
OKLCHoklch(37.91% 0.139 275)
XYZxyz(7.0780, 5.0090, 24.6337)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30358A #8A8530
analogous
#30628A #30358A #58308A
triadic
#30358A #8A3035 #358A30
tetradic
#30358A #8A3062 #8A8530 #308A58
square
#30358A #8A3062 #8A8530 #308A58
split-complementary
#30358A #8A5830 #628A30
monochromatic
#10122F #20245D #30358A #4046B7 #696FCB

Accessibility & contrast

On white

10.49
#30358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#30358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30358A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30358A#FFFFFF#000000##FFFFFF
##30358A1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30358a;
/* rgb */ color: rgb(48, 53, 138);
/* oklch */ color: oklch(37.9% 0.139 275.0);
Tailwind
colors: {
  custom: {
    50: '#736cad',
    500: '#30358a',
    950: '#000000',
  },
}
SCSS
$custom: #30358a;
$custom-light: #736cad;
$custom-dark: #000000;
JSON
{
  "hex": "#30358a",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 236.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37906,
    "c": 0.1391,
    "h": 275
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#30358A
secondary
#B2AE64
accent
#D050D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30358A

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

Preview Lab → · Contrast checker → · Palette generator →

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