#30267F#30267F

#30267F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.143 H 280.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#30267F
RGBrgb(48, 38, 127)
HSLhsl(247, 54%, 32%)
HSVhsv(247, 70%, 50%)
CMYKcmyk(62.2%, 70.1%, 0%, 50.2%)
CIE-LABlab(22.11, 31.91, -48.84)
CIE-LCHlch(22.11, 58.34, 303.16°)
OKLaboklab(34.21% 0.0267 -0.1407)
OKLCHoklch(34.21% 0.143 280.8)
XYZxyz(5.7416, 3.5465, 20.4565)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30267F #757F26
analogous
#26487F #30267F #5D267F
triadic
#30267F #7F3026 #267F30
tetradic
#30267F #7F2648 #757F26 #267F5D
square
#30267F #7F2648 #757F26 #267F5D
split-complementary
#30267F #7F5D26 #487F26
monochromatic
#0C0A21 #1E1850 #30267F #4234AE #6154CC

Accessibility & contrast

On white

12.29
#30267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#30267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30267F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30267F#FFFFFF#000000##FFFFFF
##30267F1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #30267f;
/* rgb */ color: rgb(48, 38, 127);
/* oklch */ color: oklch(34.2% 0.143 280.8);
Tailwind
colors: {
  custom: {
    50: '#7261a5',
    500: '#30267f',
    950: '#000000',
  },
}
SCSS
$custom: #30267f;
$custom-light: #7261a5;
$custom-dark: #000000;
JSON
{
  "hex": "#30267f",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 246.742,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34213,
    "c": 0.1432,
    "h": 280.8
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#30267F
secondary
#A5B051
accent
#DD4ACD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #30267F

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

Preview Lab → · Contrast checker → · Palette generator →

#30267F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva