#30368B#30368B

#30368B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.139 H 274.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#30368B
RGBrgb(48, 54, 139)
HSLhsl(236, 49%, 37%)
HSVhsv(236, 65%, 55%)
CMYKcmyk(65.5%, 61.2%, 0%, 45.5%)
CIE-LABlab(27.10, 25.74, -48.21)
CIE-LCHlch(27.10, 54.65, 298.10°)
OKLaboklab(38.19% 0.0112 -0.1388)
OKLCHoklch(38.19% 0.139 274.6)
XYZxyz(7.1968, 5.1302, 25.0321)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30368B #8B8530
analogous
#30648B #30368B #58308B
triadic
#30368B #8B3036 #368B30
tetradic
#30368B #8B3064 #8B8530 #308B58
square
#30368B #8B3064 #8B8530 #308B58
split-complementary
#30368B #8B5830 #648B30
monochromatic
#111330 #20245E #30368B #4048B8 #6A70CC

Accessibility & contrast

On white

10.36
#30368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#30368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30368B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30368B#FFFFFF#000000##FFFFFF
##30368B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #30368b;
/* rgb */ color: rgb(48, 54, 139);
/* oklch */ color: oklch(38.2% 0.139 274.6);
Tailwind
colors: {
  custom: {
    50: '#736dae',
    500: '#30368b',
    950: '#000000',
  },
}
SCSS
$custom: #30368b;
$custom-light: #736dae;
$custom-dark: #000000;
JSON
{
  "hex": "#30368b",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 236.044,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38185,
    "c": 0.1392,
    "h": 274.6
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#30368B
secondary
#B3AE64
accent
#CF50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30368B

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

Preview Lab → · Contrast checker → · Palette generator →

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