#30349F#30349F

#30349F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.169 H 273.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#30349F
RGBrgb(48, 52, 159)
HSLhsl(238, 54%, 41%)
HSVhsv(238, 70%, 62%)
CMYKcmyk(69.8%, 67.3%, 0%, 37.6%)
CIE-LABlab(28.34, 34.22, -58.45)
CIE-LCHlch(28.34, 67.73, 300.35°)
OKLaboklab(39.64% 0.0116 -0.1688)
OKLCHoklch(39.64% 0.169 273.9)
XYZxyz(8.7028, 5.5867, 33.4139)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30349F #9F9B30
analogous
#306B9F #30349F #63309F
triadic
#30349F #9F3034 #349F30
tetradic
#30349F #9F306B #9F9B30 #309F63
square
#30349F #9F306B #9F9B30 #309F63
split-complementary
#30349F #9F6330 #6B9F30
monochromatic
#141541 #222570 #30349F #454AC7 #7478D5

Accessibility & contrast

On white

9.92
#30349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#30349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30349F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30349F#FFFFFF#000000##FFFFFF
##30349F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #30349f;
/* rgb */ color: rgb(48, 52, 159);
/* oklch */ color: oklch(39.6% 0.169 273.9);
Tailwind
colors: {
  custom: {
    50: '#786cbc',
    500: '#30349f',
    950: '#000000',
  },
}
SCSS
$custom: #30349f;
$custom-light: #786cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#30349f",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 237.838,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39635,
    "c": 0.1692,
    "h": 273.9
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#30349F
secondary
#BDBA6E
accent
#D84BDD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30349F

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

Preview Lab → · Contrast checker → · Palette generator →

#30349F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva