#30359B#30359B

#30359B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.163 H 274.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#30359B
RGBrgb(48, 53, 155)
HSLhsl(237, 53%, 40%)
HSVhsv(237, 69%, 61%)
CMYKcmyk(69%, 65.8%, 0%, 39.2%)
CIE-LABlab(28.22, 32.16, -56.21)
CIE-LCHlch(28.22, 64.76, 299.77°)
OKLaboklab(39.43% 0.0113 -0.1623)
OKLCHoklch(39.43% 0.163 274)
XYZxyz(8.4065, 5.5404, 31.6304)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30359B #9B9630
analogous
#306B9B #30359B #60309B
triadic
#30359B #9B3035 #359B30
tetradic
#30359B #9B306B #9B9630 #309B60
square
#30359B #9B306B #9B9630 #309B60
split-complementary
#30359B #9B6030 #6B9B30
monochromatic
#13153E #22256C #30359B #4349C5 #7277D3

Accessibility & contrast

On white

9.96
#30359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#30359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30359B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30359B#FFFFFF#000000##FFFFFF
##30359B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #30359b;
/* rgb */ color: rgb(48, 53, 155);
/* oklch */ color: oklch(39.4% 0.163 274.0);
Tailwind
colors: {
  custom: {
    50: '#776cb9',
    500: '#30359b',
    950: '#000000',
  },
}
SCSS
$custom: #30359b;
$custom-light: #776cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#30359b",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 237.196,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.16265,
    "h": 274
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#30359B
secondary
#BBB76C
accent
#D54CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30359B

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

Preview Lab → · Contrast checker → · Palette generator →

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