#30337A#30337A

#30337A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.2% C 0.119 H 276.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#30337A
RGBrgb(48, 51, 122)
HSLhsl(238, 44%, 33%)
HSVhsv(238, 61%, 48%)
CMYKcmyk(60.7%, 58.2%, 0%, 52.2%)
CIE-LABlab(24.95, 21.61, -41.05)
CIE-LCHlch(24.95, 46.39, 297.76°)
OKLaboklab(36.16% 0.0142 -0.1177)
OKLCHoklch(36.16% 0.119 276.9)
XYZxyz(5.9145, 4.4007, 18.9463)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30337A #7A7730
analogous
#30587A #30337A #52307A
triadic
#30337A #7A3033 #337A30
tetradic
#30337A #7A3058 #7A7730 #307A52
square
#30337A #7A3058 #7A7730 #307A52
split-complementary
#30337A #7A5230 #587A30
monochromatic
#0D0E22 #1F214E #30337A #4145A6 #6367C2

Accessibility & contrast

On white

11.17
#30337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#30337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30337A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30337A#FFFFFF#000000##FFFFFF
##30337A1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30337a;
/* rgb */ color: rgb(48, 51, 122);
/* oklch */ color: oklch(36.2% 0.119 276.9);
Tailwind
colors: {
  custom: {
    50: '#706aa1',
    500: '#30337a',
    950: '#000000',
  },
}
SCSS
$custom: #30337a;
$custom-light: #706aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#30337a",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 237.568,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36164,
    "c": 0.11857,
    "h": 276.9
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#30337A
secondary
#A9A65D
accent
#CE55D3
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #30337A

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

Preview Lab → · Contrast checker → · Palette generator →

#30337A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva