#30355E#30355E

#30355E is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.072 H 276.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#30355E
RGBrgb(48, 53, 94)
HSLhsl(233, 32%, 28%)
HSVhsv(233, 49%, 37%)
CMYKcmyk(48.9%, 43.6%, 0%, 63.1%)
CIE-LABlab(23.61, 10.29, -25.18)
CIE-LCHlch(23.61, 27.20, 292.23°)
OKLaboklab(34.54% 0.0084 -0.0711)
OKLCHoklch(34.54% 0.072 276.7)
XYZxyz(4.5118, 3.9825, 11.1185)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30355E #5E5930
analogous
#304C5E #30355E #42305E
triadic
#30355E #5E3035 #355E30
tetradic
#30355E #5E304C #5E5930 #305E42
square
#30355E #5E304C #5E5930 #305E42
split-complementary
#30355E #5E4230 #4C5E30
monochromatic
#0A0B14 #1B1E35 #30355E #454C87 #5C65AC

Accessibility & contrast

On white

11.69
#30355E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#30355E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30355E
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30355E#FFFFFF#000000##FFFFFF
##30355E1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A60
Deuteranopia (green-blind)
#22365D
Tritanopia (blue-blind)
#203D45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #30355e;
/* rgb */ color: rgb(48, 53, 94);
/* oklch */ color: oklch(34.5% 0.072 276.7);
Tailwind
colors: {
  custom: {
    50: '#6b6c8c',
    500: '#30355e',
    950: '#000000',
  },
}
SCSS
$custom: #30355e;
$custom-light: #6b6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#30355e",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 94
  },
  "hsl": {
    "h": 233.478,
    "s": 32.394,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34537,
    "c": 0.07162,
    "h": 276.7
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#30355E
secondary
#8F8A5A
accent
#BD5FC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #30355E

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

Preview Lab → · Contrast checker → · Palette generator →

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