#30267B#30267B

#30267B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.138 H 281.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#30267B
RGBrgb(48, 38, 123)
HSLhsl(247, 53%, 32%)
HSVhsv(247, 69%, 48%)
CMYKcmyk(61%, 69.1%, 0%, 51.8%)
CIE-LABlab(21.74, 30.55, -46.91)
CIE-LCHlch(21.74, 55.98, 303.08°)
OKLaboklab(33.83% 0.0273 -0.135)
OKLCHoklch(33.83% 0.138 281.4)
XYZxyz(5.4861, 3.4443, 19.1108)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30267B #717B26
analogous
#26477B #30267B #5B267B
triadic
#30267B #7B3026 #267B30
tetradic
#30267B #7B2647 #717B26 #267B5B
square
#30267B #7B2647 #717B26 #267B5B
split-complementary
#30267B #7B5B26 #477B26
monochromatic
#0C091D #1E184C #30267B #4234AA #6052CA

Accessibility & contrast

On white

12.43
#30267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30267B
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30267B#FFFFFF#000000##FFFFFF
##30267B1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#013C4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #30267b;
/* rgb */ color: rgb(48, 38, 123);
/* oklch */ color: oklch(33.8% 0.138 281.4);
Tailwind
colors: {
  custom: {
    50: '#7161a2',
    500: '#30267b',
    950: '#000000',
  },
}
SCSS
$custom: #30267b;
$custom-light: #7161a2;
$custom-dark: #000000;
JSON
{
  "hex": "#30267b",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 247.059,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33832,
    "c": 0.13775,
    "h": 281.4
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#30267B
secondary
#A2AD50
accent
#DC4CCB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #30267B

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

Preview Lab → · Contrast checker → · Palette generator →

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