#30267E#30267E

#30267E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.142 H 280.9°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#30267E
RGBrgb(48, 38, 126)
HSLhsl(247, 54%, 32%)
HSVhsv(247, 70%, 49%)
CMYKcmyk(61.9%, 69.8%, 0%, 50.6%)
CIE-LABlab(22.02, 31.57, -48.36)
CIE-LCHlch(22.02, 57.75, 303.14°)
OKLaboklab(34.12% 0.0269 -0.1393)
OKLCHoklch(34.12% 0.142 280.9)
XYZxyz(5.6767, 3.5206, 20.1150)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30267E #747E26
analogous
#26487E #30267E #5C267E
triadic
#30267E #7E3026 #267E30
tetradic
#30267E #7E2648 #747E26 #267E5C
square
#30267E #7E2648 #747E26 #267E5C
split-complementary
#30267E #7E5C26 #487E26
monochromatic
#0C0A20 #1E184F #30267E #4234AD #6153CB

Accessibility & contrast

On white

12.32
#30267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#30267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30267E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30267E#FFFFFF#000000##FFFFFF
##30267E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #30267e;
/* rgb */ color: rgb(48, 38, 126);
/* oklch */ color: oklch(34.1% 0.142 280.9);
Tailwind
colors: {
  custom: {
    50: '#7261a4',
    500: '#30267e',
    950: '#000000',
  },
}
SCSS
$custom: #30267e;
$custom-light: #7261a4;
$custom-dark: #000000;
JSON
{
  "hex": "#30267e",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 246.818,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34117,
    "c": 0.14185,
    "h": 280.9
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#30267E
secondary
#A5B050
accent
#DD4BCC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #30267E

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

Preview Lab → · Contrast checker → · Palette generator →

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