#30397A#30397A

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

Color values

HEX#30397A
RGBrgb(48, 57, 122)
HSLhsl(233, 44%, 33%)
HSVhsv(233, 61%, 48%)
CMYKcmyk(60.7%, 53.3%, 0%, 52.2%)
CIE-LABlab(26.62, 17.51, -38.36)
CIE-LCHlch(26.62, 42.17, 294.53°)
OKLaboklab(37.41% 0.0075 -0.1097)
OKLCHoklch(37.41% 0.11 273.9)
XYZxyz(6.1938, 4.9593, 19.0394)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30397A #7A7130
analogous
#305E7A #30397A #4C307A
triadic
#30397A #7A3039 #397A30
tetradic
#30397A #7A305E #7A7130 #307A4C
square
#30397A #7A305E #7A7130 #307A4C
split-complementary
#30397A #7A4C30 #5E7A30
monochromatic
#0D1022 #1F244E #30397A #414EA6 #636EC2

Accessibility & contrast

On white

10.54
#30397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#30397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30397A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30397A#FFFFFF#000000##FFFFFF
##30397A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427C
Deuteranopia (green-blind)
#063C79
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #30397a;
/* rgb */ color: rgb(48, 57, 122);
/* oklch */ color: oklch(37.4% 0.110 273.9);
Tailwind
colors: {
  custom: {
    50: '#706fa1',
    500: '#30397a',
    950: '#000000',
  },
}
SCSS
$custom: #30397a;
$custom-light: #706fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#30397a",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 232.703,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.11001,
    "h": 273.9
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#30397A
secondary
#A9A05D
accent
#C455D3
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #30397A

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

Preview Lab → · Contrast checker → · Palette generator →

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