#30357F#30357F

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

Color values

HEX#30357F
RGBrgb(48, 53, 127)
HSLhsl(236, 45%, 34%)
HSVhsv(236, 62%, 50%)
CMYKcmyk(62.2%, 58.3%, 0%, 50.2%)
CIE-LABlab(25.88, 22.06, -42.70)
CIE-LCHlch(25.88, 48.06, 297.32°)
OKLaboklab(36.98% 0.0122 -0.1226)
OKLCHoklch(36.98% 0.123 275.7)
XYZxyz(6.3215, 4.7064, 20.6499)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30357F #7F7A30
analogous
#305D7F #30357F #53307F
triadic
#30357F #7F3035 #357F30
tetradic
#30357F #7F305D #7F7A30 #307F53
square
#30357F #7F305D #7F7A30 #307F53
split-complementary
#30357F #7F5330 #5D7F30
monochromatic
#0E1026 #1F2253 #30357F #4148AB #656BC5

Accessibility & contrast

On white

10.82
#30357F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30357F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30357F#FFFFFF#000000##FFFFFF
##30357F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30357f;
/* rgb */ color: rgb(48, 53, 127);
/* oklch */ color: oklch(37.0% 0.123 275.7);
Tailwind
colors: {
  custom: {
    50: '#716ca5',
    500: '#30357f',
    950: '#000000',
  },
}
SCSS
$custom: #30357f;
$custom-light: #716ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#30357f",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 127
  },
  "hsl": {
    "h": 236.203,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36977,
    "c": 0.12317,
    "h": 275.7
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#30357F
secondary
#ACA75F
accent
#CD53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #30357F

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

Preview Lab → · Contrast checker → · Palette generator →

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