#30368F#30368F

#30368F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.145 H 274.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#30368F
RGBrgb(48, 54, 143)
HSLhsl(236, 50%, 37%)
HSVhsv(236, 66%, 56%)
CMYKcmyk(66.4%, 62.2%, 0%, 43.9%)
CIE-LABlab(27.43, 27.19, -50.14)
CIE-LCHlch(27.43, 57.04, 298.47°)
OKLaboklab(38.53% 0.0111 -0.1444)
OKLCHoklch(38.53% 0.145 274.4)
XYZxyz(7.4944, 5.2492, 26.5995)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30368F #8F8930
analogous
#30658F #30368F #5A308F
triadic
#30368F #8F3036 #368F30
tetradic
#30368F #8F3065 #8F8930 #308F5A
square
#30368F #8F3065 #8F8930 #308F5A
split-complementary
#30368F #8F5A30 #658F30
monochromatic
#111333 #212561 #30368F #3F47BD #6C72CE

Accessibility & contrast

On white

10.24
#30368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#30368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30368F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30368F#FFFFFF#000000##FFFFFF
##30368F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #30368f;
/* rgb */ color: rgb(48, 54, 143);
/* oklch */ color: oklch(38.5% 0.145 274.4);
Tailwind
colors: {
  custom: {
    50: '#746db1',
    500: '#30368f',
    950: '#000000',
  },
}
SCSS
$custom: #30368f;
$custom-light: #746db1;
$custom-dark: #000000;
JSON
{
  "hex": "#30368f",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 236.211,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38533,
    "c": 0.14487,
    "h": 274.4
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#30368F
secondary
#B5B066
accent
#D14FD9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #30368F

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

Preview Lab → · Contrast checker → · Palette generator →

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