#30358B#30358B

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

Color values

HEX#30358B
RGBrgb(48, 53, 139)
HSLhsl(237, 49%, 37%)
HSVhsv(237, 65%, 55%)
CMYKcmyk(65.5%, 61.9%, 0%, 45.5%)
CIE-LABlab(26.84, 26.41, -48.63)
CIE-LCHlch(26.84, 55.34, 298.50°)
OKLaboklab(37.99% 0.0121 -0.14)
OKLCHoklch(37.99% 0.141 275)
XYZxyz(7.1507, 5.0381, 25.0167)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30358B #8B8630
analogous
#30638B #30358B #59308B
triadic
#30358B #8B3035 #358B30
tetradic
#30358B #8B3063 #8B8630 #308B59
square
#30358B #8B3063 #8B8630 #308B59
split-complementary
#30358B #8B5930 #638B30
monochromatic
#111230 #20245E #30358B #4046B8 #6A6FCC

Accessibility & contrast

On white

10.46
#30358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#30358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30358B
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30358B#FFFFFF#000000##FFFFFF
##30358B1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30358b;
/* rgb */ color: rgb(48, 53, 139);
/* oklch */ color: oklch(38.0% 0.141 275.0);
Tailwind
colors: {
  custom: {
    50: '#736cae',
    500: '#30358b',
    950: '#000000',
  },
}
SCSS
$custom: #30358b;
$custom-light: #736cae;
$custom-dark: #000000;
JSON
{
  "hex": "#30358b",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 236.703,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37993,
    "c": 0.14053,
    "h": 275
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#30358B
secondary
#B3AE64
accent
#D150D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30358B

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

Preview Lab → · Contrast checker → · Palette generator →

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