#30367F#30367F

#30367F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.122 H 275.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#30367F
RGBrgb(48, 54, 127)
HSLhsl(235, 45%, 34%)
HSVhsv(235, 62%, 50%)
CMYKcmyk(62.2%, 57.5%, 0%, 50.2%)
CIE-LABlab(26.15, 21.38, -42.26)
CIE-LCHlch(26.15, 47.36, 296.83°)
OKLaboklab(37.18% 0.0111 -0.1213)
OKLCHoklch(37.18% 0.122 275.2)
XYZxyz(6.3676, 4.7985, 20.6652)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30367F #7F7930
analogous
#305E7F #30367F #52307F
triadic
#30367F #7F3036 #367F30
tetradic
#30367F #7F305E #7F7930 #307F52
square
#30367F #7F305E #7F7930 #307F52
split-complementary
#30367F #7F5230 #5E7F30
monochromatic
#0E1026 #1F2353 #30367F #4149AB #656CC5

Accessibility & contrast

On white

10.72
#30367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#30367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30367F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30367F#FFFFFF#000000##FFFFFF
##30367F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #30367f;
/* rgb */ color: rgb(48, 54, 127);
/* oklch */ color: oklch(37.2% 0.122 275.2);
Tailwind
colors: {
  custom: {
    50: '#716da5',
    500: '#30367f',
    950: '#000000',
  },
}
SCSS
$custom: #30367f;
$custom-light: #716da5;
$custom-dark: #000000;
JSON
{
  "hex": "#30367f",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 235.443,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3718,
    "c": 0.12177,
    "h": 275.2
  },
  "luminance": 0.04799
}

Semantic roles & 50–950 ramp

primary
#30367F
secondary
#ACA65F
accent
#CB53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #30367F

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

Preview Lab → · Contrast checker → · Palette generator →

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