#30337C#30337C

#30337C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.122 H 276.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#30337C
RGBrgb(48, 51, 124)
HSLhsl(238, 44%, 34%)
HSVhsv(238, 61%, 49%)
CMYKcmyk(61.3%, 58.9%, 0%, 51.4%)
CIE-LABlab(25.11, 22.33, -42.06)
CIE-LCHlch(25.11, 47.62, 297.96°)
OKLaboklab(36.33% 0.0142 -0.1207)
OKLCHoklch(36.33% 0.122 276.7)
XYZxyz(6.0397, 4.4508, 19.6057)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30337C #7C7930
analogous
#30597C #30337C #53307C
triadic
#30337C #7C3033 #337C30
tetradic
#30337C #7C3059 #7C7930 #307C53
square
#30337C #7C3059 #7C7930 #307C53
split-complementary
#30337C #7C5330 #597C30
monochromatic
#0E0F24 #1F2150 #30337C #4145A8 #6467C3

Accessibility & contrast

On white

11.11
#30337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#30337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30337C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30337C#FFFFFF#000000##FFFFFF
##30337C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30337c;
/* rgb */ color: rgb(48, 51, 124);
/* oklch */ color: oklch(36.3% 0.122 276.7);
Tailwind
colors: {
  custom: {
    50: '#706aa2',
    500: '#30337c',
    950: '#000000',
  },
}
SCSS
$custom: #30337c;
$custom-light: #706aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#30337c",
  "rgb": {
    "r": 48,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 237.632,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36328,
    "c": 0.12154,
    "h": 276.7
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#30337C
secondary
#AAA75E
accent
#CF54D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #30337C

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

Preview Lab → · Contrast checker → · Palette generator →

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