#30358E#30358E

#30358E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.145 H 274.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#30358E
RGBrgb(48, 53, 142)
HSLhsl(237, 49%, 37%)
HSVhsv(237, 66%, 56%)
CMYKcmyk(66.2%, 62.7%, 0%, 44.3%)
CIE-LABlab(27.09, 27.49, -50.08)
CIE-LCHlch(27.09, 57.13, 298.77°)
OKLaboklab(38.26% 0.012 -0.1443)
OKLCHoklch(38.26% 0.145 274.8)
XYZxyz(7.3729, 5.1269, 26.1870)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30358E #8E8930
analogous
#30648E #30358E #5A308E
triadic
#30358E #8E3035 #358E30
tetradic
#30358E #8E3064 #8E8930 #308E5A
square
#30358E #8E3064 #8E8930 #308E5A
split-complementary
#30358E #8E5A30 #648E30
monochromatic
#111333 #212460 #30358E #3F46BC #6B71CD

Accessibility & contrast

On white

10.37
#30358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#30358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30358E
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30358E#FFFFFF#000000##FFFFFF
##30358E1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #30358e;
/* rgb */ color: rgb(48, 53, 142);
/* oklch */ color: oklch(38.3% 0.145 274.8);
Tailwind
colors: {
  custom: {
    50: '#746cb0',
    500: '#30358e',
    950: '#000000',
  },
}
SCSS
$custom: #30358e;
$custom-light: #746cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#30358e",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 236.809,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38256,
    "c": 0.14476,
    "h": 274.8
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#30358E
secondary
#B4B065
accent
#D24FD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30358E

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

Preview Lab → · Contrast checker → · Palette generator →

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