#30367E#30367E

#30367E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.120 H 275.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#30367E
RGBrgb(48, 54, 126)
HSLhsl(235, 45%, 34%)
HSVhsv(235, 62%, 49%)
CMYKcmyk(61.9%, 57.1%, 0%, 50.6%)
CIE-LABlab(26.08, 21.01, -41.75)
CIE-LCHlch(26.08, 46.74, 296.72°)
OKLaboklab(37.1% 0.0111 -0.1198)
OKLCHoklch(37.1% 0.12 275.3)
XYZxyz(6.3028, 4.7726, 20.3237)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30367E #7E7830
analogous
#305D7E #30367E #51307E
triadic
#30367E #7E3036 #367E30
tetradic
#30367E #7E305D #7E7830 #307E51
square
#30367E #7E305D #7E7830 #307E51
split-complementary
#30367E #7E5130 #5D7E30
monochromatic
#0E1025 #1F2352 #30367E #4149AA #646CC4

Accessibility & contrast

On white

10.74
#30367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#30367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30367E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30367E#FFFFFF#000000##FFFFFF
##30367E1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #30367e;
/* rgb */ color: rgb(48, 54, 126);
/* oklch */ color: oklch(37.1% 0.120 275.3);
Tailwind
colors: {
  custom: {
    50: '#716da4',
    500: '#30367e',
    950: '#000000',
  },
}
SCSS
$custom: #30367e;
$custom-light: #716da4;
$custom-dark: #000000;
JSON
{
  "hex": "#30367e",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 235.385,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.12028,
    "h": 275.3
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30367E

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

Preview Lab → · Contrast checker → · Palette generator →

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