#30347E#30347E

#30347E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.123 H 276.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#30347E
RGBrgb(48, 52, 126)
HSLhsl(237, 45%, 34%)
HSVhsv(237, 62%, 49%)
CMYKcmyk(61.9%, 58.7%, 0%, 50.6%)
CIE-LABlab(25.53, 22.37, -42.63)
CIE-LCHlch(25.53, 48.15, 297.69°)
OKLaboklab(36.69% 0.0132 -0.1224)
OKLCHoklch(36.69% 0.123 276.2)
XYZxyz(6.2116, 4.5902, 20.2933)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30347E #7E7A30
analogous
#305B7E #30347E #53307E
triadic
#30347E #7E3034 #347E30
tetradic
#30347E #7E305B #7E7A30 #307E53
square
#30347E #7E305B #7E7A30 #307E53
split-complementary
#30347E #7E5330 #5B7E30
monochromatic
#0E0F25 #1F2252 #30347E #4146AA #6469C4

Accessibility & contrast

On white

10.95
#30347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#30347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30347E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30347E#FFFFFF#000000##FFFFFF
##30347E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30347e;
/* rgb */ color: rgb(48, 52, 126);
/* oklch */ color: oklch(36.7% 0.123 276.2);
Tailwind
colors: {
  custom: {
    50: '#716ba4',
    500: '#30347e',
    950: '#000000',
  },
}
SCSS
$custom: #30347e;
$custom-light: #716ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#30347e",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 236.923,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36694,
    "c": 0.12309,
    "h": 276.2
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#30347E
secondary
#ABA75F
accent
#CE53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #30347E

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

Preview Lab → · Contrast checker → · Palette generator →

#30347E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva