#30367D#30367D

#30367D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 37.0% C 0.119 H 275.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#30367D
RGBrgb(48, 54, 125)
HSLhsl(235, 45%, 34%)
HSVhsv(235, 62%, 49%)
CMYKcmyk(61.6%, 56.8%, 0%, 51%)
CIE-LABlab(26.00, 20.65, -41.25)
CIE-LCHlch(26.00, 46.13, 296.60°)
OKLaboklab(37.02% 0.011 -0.1183)
OKLCHoklch(37.02% 0.119 275.3)
XYZxyz(6.2386, 4.7469, 19.9856)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30367D #7D7730
analogous
#305D7D #30367D #51307D
triadic
#30367D #7D3036 #367D30
tetradic
#30367D #7D305D #7D7730 #307D51
square
#30367D #7D305D #7D7730 #307D51
split-complementary
#30367D #7D5130 #5D7D30
monochromatic
#0E1025 #1F2351 #30367D #4149A9 #646BC3

Accessibility & contrast

On white

10.77
#30367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30367D
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30367D#FFFFFF#000000##FFFFFF
##30367D1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04417F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #30367d;
/* rgb */ color: rgb(48, 54, 125);
/* oklch */ color: oklch(37.0% 0.119 275.3);
Tailwind
colors: {
  custom: {
    50: '#706da3',
    500: '#30367d',
    950: '#000000',
  },
}
SCSS
$custom: #30367d;
$custom-light: #706da3;
$custom-dark: #000000;
JSON
{
  "hex": "#30367d",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 235.325,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37018,
    "c": 0.11879,
    "h": 275.3
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#30367D
secondary
#ABA55E
accent
#CA54D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #30367D

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

Preview Lab → · Contrast checker → · Palette generator →

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