#30368E#30368E

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

Color values

HEX#30368E
RGBrgb(48, 54, 142)
HSLhsl(236, 49%, 37%)
HSVhsv(236, 66%, 56%)
CMYKcmyk(66.2%, 62%, 0%, 44.3%)
CIE-LABlab(27.35, 26.83, -49.66)
CIE-LCHlch(27.35, 56.44, 298.38°)
OKLaboklab(38.45% 0.0112 -0.143)
OKLCHoklch(38.45% 0.143 274.5)
XYZxyz(7.4190, 5.2191, 26.2024)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30368E #8E8830
analogous
#30658E #30368E #59308E
triadic
#30368E #8E3036 #368E30
tetradic
#30368E #8E3065 #8E8830 #308E59
square
#30368E #8E3065 #8E8830 #308E59
split-complementary
#30368E #8E5930 #658E30
monochromatic
#111333 #212560 #30368E #3F47BC #6B72CD

Accessibility & contrast

On white

10.27
#30368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30368E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30368E#FFFFFF#000000##FFFFFF
##30368E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #30368e;
/* rgb */ color: rgb(48, 54, 142);
/* oklch */ color: oklch(38.4% 0.143 274.5);
Tailwind
colors: {
  custom: {
    50: '#746db0',
    500: '#30368e',
    950: '#000000',
  },
}
SCSS
$custom: #30368e;
$custom-light: #746db0;
$custom-dark: #000000;
JSON
{
  "hex": "#30368e",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 236.17,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38445,
    "c": 0.14345,
    "h": 274.5
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30368E

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

Preview Lab → · Contrast checker → · Palette generator →

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