#30347B#30347B

#30347B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.4% C 0.119 H 276.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#30347B
RGBrgb(48, 52, 123)
HSLhsl(237, 44%, 34%)
HSVhsv(237, 61%, 48%)
CMYKcmyk(61%, 57.7%, 0%, 51.8%)
CIE-LABlab(25.30, 21.29, -41.11)
CIE-LCHlch(25.30, 46.30, 297.37°)
OKLaboklab(36.45% 0.0131 -0.1179)
OKLCHoklch(36.45% 0.119 276.3)
XYZxyz(6.0209, 4.5140, 19.2891)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30347B #7B7730
analogous
#30597B #30347B #51307B
triadic
#30347B #7B3034 #347B30
tetradic
#30347B #7B3059 #7B7730 #307B51
square
#30347B #7B3059 #7B7730 #307B51
split-complementary
#30347B #7B5130 #597B30
monochromatic
#0E0F23 #1F214F #30347B #4147A7 #6368C2

Accessibility & contrast

On white

11.04
#30347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#30347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30347B
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30347B#FFFFFF#000000##FFFFFF
##30347B1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30347b;
/* rgb */ color: rgb(48, 52, 123);
/* oklch */ color: oklch(36.4% 0.119 276.3);
Tailwind
colors: {
  custom: {
    50: '#706ba2',
    500: '#30347b',
    950: '#000000',
  },
}
SCSS
$custom: #30347b;
$custom-light: #706ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#30347b",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 236.8,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36448,
    "c": 0.11865,
    "h": 276.3
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#30347B
secondary
#A9A55D
accent
#CD54D4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #30347B

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

Preview Lab → · Contrast checker → · Palette generator →

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