#30267C#30267C

#30267C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.139 H 281.3°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#30267C
RGBrgb(48, 38, 124)
HSLhsl(247, 53%, 32%)
HSVhsv(247, 69%, 49%)
CMYKcmyk(61.3%, 69.4%, 0%, 51.4%)
CIE-LABlab(21.83, 30.89, -47.39)
CIE-LCHlch(21.83, 56.57, 303.10°)
OKLaboklab(33.93% 0.0272 -0.1364)
OKLCHoklch(33.93% 0.139 281.3)
XYZxyz(5.5490, 3.4695, 19.4421)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30267C #727C26
analogous
#26477C #30267C #5B267C
triadic
#30267C #7C3026 #267C30
tetradic
#30267C #7C2647 #727C26 #267C5B
square
#30267C #7C2647 #727C26 #267C5B
split-complementary
#30267C #7C5B26 #477C26
monochromatic
#0C091E #1E184D #30267C #4234AB #6052CA

Accessibility & contrast

On white

12.40
#30267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#30267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30267C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30267C#FFFFFF#000000##FFFFFF
##30267C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #30267c;
/* rgb */ color: rgb(48, 38, 124);
/* oklch */ color: oklch(33.9% 0.139 281.3);
Tailwind
colors: {
  custom: {
    50: '#7261a3',
    500: '#30267c',
    950: '#000000',
  },
}
SCSS
$custom: #30267c;
$custom-light: #7261a3;
$custom-dark: #000000;
JSON
{
  "hex": "#30267c",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 246.977,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33927,
    "c": 0.13912,
    "h": 281.3
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#30267C
secondary
#A3AE50
accent
#DC4BCC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #30267C

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

Preview Lab → · Contrast checker → · Palette generator →

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