#30368C#30368C

#30368C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.141 H 274.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#30368C
RGBrgb(48, 54, 140)
HSLhsl(236, 49%, 37%)
HSVhsv(236, 66%, 55%)
CMYKcmyk(65.7%, 61.4%, 0%, 45.1%)
CIE-LABlab(27.18, 26.11, -48.69)
CIE-LCHlch(27.18, 55.25, 298.20°)
OKLaboklab(38.27% 0.0112 -0.1402)
OKLCHoklch(38.27% 0.141 274.6)
XYZxyz(7.2702, 5.1595, 25.4186)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30368C #8C8630
analogous
#30648C #30368C #58308C
triadic
#30368C #8C3036 #368C30
tetradic
#30368C #8C3064 #8C8630 #308C58
square
#30368C #8C3064 #8C8630 #308C58
split-complementary
#30368C #8C5830 #648C30
monochromatic
#111331 #20245E #30368C #4048BA #6A71CC

Accessibility & contrast

On white

10.33
#30368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30368C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30368C#FFFFFF#000000##FFFFFF
##30368C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30368c;
/* rgb */ color: rgb(48, 54, 140);
/* oklch */ color: oklch(38.3% 0.141 274.6);
Tailwind
colors: {
  custom: {
    50: '#736dae',
    500: '#30368c',
    950: '#000000',
  },
}
SCSS
$custom: #30368c;
$custom-light: #736dae;
$custom-dark: #000000;
JSON
{
  "hex": "#30368c",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 236.087,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38271,
    "c": 0.14063,
    "h": 274.6
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30368C

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

Preview Lab → · Contrast checker → · Palette generator →

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