#30357E#30357E

#30357E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.122 H 275.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#30357E
RGBrgb(48, 53, 126)
HSLhsl(236, 45%, 34%)
HSVhsv(236, 62%, 49%)
CMYKcmyk(61.9%, 57.9%, 0%, 50.6%)
CIE-LABlab(25.80, 21.69, -42.19)
CIE-LCHlch(25.80, 47.44, 297.21°)
OKLaboklab(36.9% 0.0121 -0.1211)
OKLCHoklch(36.9% 0.122 275.7)
XYZxyz(6.2567, 4.6805, 20.3083)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30357E #7E7930
analogous
#305C7E #30357E #52307E
triadic
#30357E #7E3035 #357E30
tetradic
#30357E #7E305C #7E7930 #307E52
square
#30357E #7E305C #7E7930 #307E52
split-complementary
#30357E #7E5230 #5C7E30
monochromatic
#0E1025 #1F2252 #30357E #4148AA #646AC4

Accessibility & contrast

On white

10.85
#30357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#30357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30357E
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30357E#FFFFFF#000000##FFFFFF
##30357E1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30357e;
/* rgb */ color: rgb(48, 53, 126);
/* oklch */ color: oklch(36.9% 0.122 275.7);
Tailwind
colors: {
  custom: {
    50: '#716ca4',
    500: '#30357e',
    950: '#000000',
  },
}
SCSS
$custom: #30357e;
$custom-light: #716ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#30357e",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 236.154,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36895,
    "c": 0.12169,
    "h": 275.7
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#30357E
secondary
#ABA65F
accent
#CC53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #30357E

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

Preview Lab → · Contrast checker → · Palette generator →

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