#30349B#30349B

#30349B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.164 H 274.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#30349B
RGBrgb(48, 52, 155)
HSLhsl(238, 53%, 40%)
HSVhsv(238, 69%, 61%)
CMYKcmyk(69%, 66.5%, 0%, 39.2%)
CIE-LABlab(27.98, 32.80, -56.61)
CIE-LCHlch(27.98, 65.42, 300.09°)
OKLaboklab(39.26% 0.012 -0.1634)
OKLCHoklch(39.26% 0.164 274.2)
XYZxyz(8.3613, 5.4502, 31.6153)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30349B #9B9730
analogous
#306A9B #30349B #62309B
triadic
#30349B #9B3034 #349B30
tetradic
#30349B #9B306A #9B9730 #309B62
square
#30349B #9B306A #9B9730 #309B62
split-complementary
#30349B #9B6230 #6A9B30
monochromatic
#13153E #22246C #30349B #4348C5 #7276D3

Accessibility & contrast

On white

10.05
#30349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#30349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30349B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30349B#FFFFFF#000000##FFFFFF
##30349B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #30349b;
/* rgb */ color: rgb(48, 52, 155);
/* oklch */ color: oklch(39.3% 0.164 274.2);
Tailwind
colors: {
  custom: {
    50: '#776cb9',
    500: '#30349b',
    950: '#000000',
  },
}
SCSS
$custom: #30349b;
$custom-light: #776cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#30349b",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 237.757,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.16386,
    "h": 274.2
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#30349B
secondary
#BBB86C
accent
#D74CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30349B

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

Preview Lab → · Contrast checker → · Palette generator →

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