#30479F#30479F

#30479F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.145 H 268.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#30479F
RGBrgb(48, 71, 159)
HSLhsl(228, 54%, 41%)
HSVhsv(228, 70%, 62%)
CMYKcmyk(69.8%, 55.3%, 0%, 37.6%)
CIE-LABlab(33.22, 21.75, -50.51)
CIE-LCHlch(33.22, 54.99, 293.30°)
OKLaboklab(43.24% -0.0036 -0.1453)
OKLCHoklch(43.24% 0.145 268.6)
XYZxyz(9.7280, 7.6371, 33.7556)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30479F #9F8830
analogous
#307E9F #30479F #51309F
triadic
#30479F #9F3047 #479F30
tetradic
#30479F #9F307E #9F8830 #309F51
square
#30479F #9F307E #9F8830 #309F51
split-complementary
#30479F #9F5130 #7E9F30
monochromatic
#141D41 #223270 #30479F #4560C7 #7488D5

Accessibility & contrast

On white

8.31
#30479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#30479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30479F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30479F#FFFFFF#000000##FFFFFF
##30479F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30479f;
/* rgb */ color: rgb(48, 71, 159);
/* oklch */ color: oklch(43.2% 0.145 268.6);
Tailwind
colors: {
  custom: {
    50: '#7679bc',
    500: '#30479f',
    950: '#000000',
  },
}
SCSS
$custom: #30479f;
$custom-light: #7679bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30479f",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 227.568,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4324,
    "c": 0.14536,
    "h": 268.6
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#30479F
secondary
#BDAD6E
accent
#BF4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #30479F

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

Preview Lab → · Contrast checker → · Palette generator →

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