#30359E#30359E

#30359E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.167 H 273.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#30359E
RGBrgb(48, 53, 158)
HSLhsl(237, 53%, 40%)
HSVhsv(237, 70%, 62%)
CMYKcmyk(69.6%, 66.5%, 0%, 38%)
CIE-LABlab(28.49, 33.23, -57.60)
CIE-LCHlch(28.49, 66.50, 299.98°)
OKLaboklab(39.71% 0.011 -0.1663)
OKLCHoklch(39.71% 0.167 273.8)
XYZxyz(8.6615, 5.6424, 32.9738)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30359E #9E9930
analogous
#306C9E #30359E #62309E
triadic
#30359E #9E3035 #359E30
tetradic
#30359E #9E306C #9E9930 #309E62
square
#30359E #9E306C #9E9930 #309E62
split-complementary
#30359E #9E6230 #6C9E30
monochromatic
#131640 #22256F #30359E #454BC6 #7478D5

Accessibility & contrast

On white

9.87
#30359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#30359E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30359E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30359E#FFFFFF#000000##FFFFFF
##30359E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #30359e;
/* rgb */ color: rgb(48, 53, 158);
/* oklch */ color: oklch(39.7% 0.167 273.8);
Tailwind
colors: {
  custom: {
    50: '#786cbc',
    500: '#30359e',
    950: '#000000',
  },
}
SCSS
$custom: #30359e;
$custom-light: #786cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#30359e",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 237.273,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.16668,
    "h": 273.8
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#30359E
secondary
#BDB96D
accent
#D64BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30359E

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

Preview Lab → · Contrast checker → · Palette generator →

#30359E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva