#30359C#30359C

#30359C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.164 H 273.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#30359C
RGBrgb(48, 53, 156)
HSLhsl(237, 53%, 40%)
HSVhsv(237, 69%, 61%)
CMYKcmyk(69.2%, 66%, 0%, 38.8%)
CIE-LABlab(28.31, 32.52, -56.68)
CIE-LCHlch(28.31, 65.34, 299.84°)
OKLaboklab(39.53% 0.0112 -0.1636)
OKLCHoklch(39.53% 0.164 273.9)
XYZxyz(8.4908, 5.5741, 32.0745)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30359C #9C9730
analogous
#306B9C #30359C #61309C
triadic
#30359C #9C3035 #359C30
tetradic
#30359C #9C306B #9C9730 #309C61
square
#30359C #9C306B #9C9730 #309C61
split-complementary
#30359C #9C6130 #6B9C30
monochromatic
#13153E #22256D #30359C #444AC5 #7377D4

Accessibility & contrast

On white

9.93
#30359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#30359C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30359C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30359C#FFFFFF#000000##FFFFFF
##30359C1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #30359c;
/* rgb */ color: rgb(48, 53, 156);
/* oklch */ color: oklch(39.5% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#776cba',
    500: '#30359c',
    950: '#000000',
  },
}
SCSS
$custom: #30359c;
$custom-light: #776cba;
$custom-dark: #000000;
JSON
{
  "hex": "#30359c",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 237.222,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.39527,
    "c": 0.164,
    "h": 273.9
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#30359C
secondary
#BCB86C
accent
#D64BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30359C

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

Preview Lab → · Contrast checker → · Palette generator →

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