#30368D#30368D

#30368D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.142 H 274.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#30368D
RGBrgb(48, 54, 141)
HSLhsl(236, 49%, 37%)
HSVhsv(236, 66%, 55%)
CMYKcmyk(66%, 61.7%, 0%, 44.7%)
CIE-LABlab(27.27, 26.47, -49.18)
CIE-LCHlch(27.27, 55.85, 298.29°)
OKLaboklab(38.36% 0.0112 -0.1416)
OKLCHoklch(38.36% 0.142 274.5)
XYZxyz(7.3442, 5.1892, 25.8087)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30368D #8D8730
analogous
#30658D #30368D #59308D
triadic
#30368D #8D3036 #368D30
tetradic
#30368D #8D3065 #8D8730 #308D59
square
#30368D #8D3065 #8D8730 #308D59
split-complementary
#30368D #8D5930 #658D30
monochromatic
#111332 #20255F #30368D #4047BB #6B71CD

Accessibility & contrast

On white

10.30
#30368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#30368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30368D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30368D#FFFFFF#000000##FFFFFF
##30368D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #30368d;
/* rgb */ color: rgb(48, 54, 141);
/* oklch */ color: oklch(38.4% 0.142 274.5);
Tailwind
colors: {
  custom: {
    50: '#746daf',
    500: '#30368d',
    950: '#000000',
  },
}
SCSS
$custom: #30368d;
$custom-light: #746daf;
$custom-dark: #000000;
JSON
{
  "hex": "#30368d",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 236.129,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38358,
    "c": 0.14204,
    "h": 274.5
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#30368D
secondary
#B4AF65
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30368D

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

Preview Lab → · Contrast checker → · Palette generator →

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