#30358C#30358C

#30358C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.142 H 274.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#30358C
RGBrgb(48, 53, 140)
HSLhsl(237, 49%, 37%)
HSVhsv(237, 66%, 55%)
CMYKcmyk(65.7%, 62.1%, 0%, 45.1%)
CIE-LABlab(26.93, 26.77, -49.11)
CIE-LCHlch(26.93, 55.94, 298.59°)
OKLaboklab(38.08% 0.0121 -0.1414)
OKLCHoklch(38.08% 0.142 274.9)
XYZxyz(7.2241, 5.0674, 25.4033)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30358C #8C8730
analogous
#30638C #30358C #59308C
triadic
#30358C #8C3035 #358C30
tetradic
#30358C #8C3063 #8C8730 #308C59
square
#30358C #8C3063 #8C8730 #308C59
split-complementary
#30358C #8C5930 #638C30
monochromatic
#111231 #20245E #30358C #4046BA #6A70CC

Accessibility & contrast

On white

10.43
#30358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#30358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30358C
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30358C#FFFFFF#000000##FFFFFF
##30358C1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.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: #30358c;
/* rgb */ color: rgb(48, 53, 140);
/* oklch */ color: oklch(38.1% 0.142 274.9);
Tailwind
colors: {
  custom: {
    50: '#746cae',
    500: '#30358c',
    950: '#000000',
  },
}
SCSS
$custom: #30358c;
$custom-light: #746cae;
$custom-dark: #000000;
JSON
{
  "hex": "#30358c",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 236.739,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3808,
    "c": 0.14194,
    "h": 274.9
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#30358C
secondary
#B3AF64
accent
#D14FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #30358C

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

Preview Lab → · Contrast checker → · Palette generator →

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