#30397C#30397C

#30397C is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.6% C 0.113 H 273.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#30397C
RGBrgb(48, 57, 124)
HSLhsl(233, 44%, 34%)
HSVhsv(233, 61%, 49%)
CMYKcmyk(61.3%, 54%, 0%, 51.4%)
CIE-LABlab(26.76, 18.24, -39.39)
CIE-LCHlch(26.76, 43.41, 294.84°)
OKLaboklab(37.57% 0.0077 -0.1128)
OKLCHoklch(37.57% 0.113 273.9)
XYZxyz(6.3190, 5.0094, 19.6988)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30397C #7C7330
analogous
#305F7C #30397C #4D307C
triadic
#30397C #7C3039 #397C30
tetradic
#30397C #7C305F #7C7330 #307C4D
square
#30397C #7C305F #7C7330 #307C4D
split-complementary
#30397C #7C4D30 #5F7C30
monochromatic
#0E1024 #1F2550 #30397C #414DA8 #646FC3

Accessibility & contrast

On white

10.49
#30397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#30397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30397C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30397C#FFFFFF#000000##FFFFFF
##30397C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12437E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30397c;
/* rgb */ color: rgb(48, 57, 124);
/* oklch */ color: oklch(37.6% 0.113 273.9);
Tailwind
colors: {
  custom: {
    50: '#706fa2',
    500: '#30397c',
    950: '#000000',
  },
}
SCSS
$custom: #30397c;
$custom-light: #706fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#30397c",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 232.895,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.11304,
    "h": 273.9
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#30397C
secondary
#AAA15E
accent
#C554D4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #30397C

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

Preview Lab → · Contrast checker → · Palette generator →

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