#30349C#30349C

#30349C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.165 H 274.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#30349C
RGBrgb(48, 52, 156)
HSLhsl(238, 53%, 40%)
HSVhsv(238, 69%, 61%)
CMYKcmyk(69.2%, 66.7%, 0%, 38.8%)
CIE-LABlab(28.07, 33.16, -57.07)
CIE-LCHlch(28.07, 66.00, 300.16°)
OKLaboklab(39.35% 0.0119 -0.1648)
OKLCHoklch(39.35% 0.165 274.1)
XYZxyz(8.4457, 5.4839, 32.0595)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30349C #9C9830
analogous
#306A9C #30349C #62309C
triadic
#30349C #9C3034 #349C30
tetradic
#30349C #9C306A #9C9830 #309C62
square
#30349C #9C306A #9C9830 #309C62
split-complementary
#30349C #9C6230 #6A9C30
monochromatic
#13153E #22246D #30349C #4449C5 #7376D4

Accessibility & contrast

On white

10.01
#30349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#30349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30349C
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30349C#FFFFFF#000000##FFFFFF
##30349C1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30349c;
/* rgb */ color: rgb(48, 52, 156);
/* oklch */ color: oklch(39.4% 0.165 274.1);
Tailwind
colors: {
  custom: {
    50: '#776cba',
    500: '#30349c',
    950: '#000000',
  },
}
SCSS
$custom: #30349c;
$custom-light: #776cba;
$custom-dark: #000000;
JSON
{
  "hex": "#30349c",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 237.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.39351,
    "c": 0.1652,
    "h": 274.1
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#30349C
secondary
#BCB96C
accent
#D74BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #30349C

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

Preview Lab → · Contrast checker → · Palette generator →

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