#30269A#30269A

#30269A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.178 H 277.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#30269A
RGBrgb(48, 38, 154)
HSLhsl(245, 60%, 38%)
HSVhsv(245, 75%, 60%)
CMYKcmyk(68.8%, 75.3%, 0%, 39.6%)
CIE-LABlab(24.79, 40.94, -61.24)
CIE-LCHlch(24.79, 73.67, 303.76°)
OKLaboklab(36.93% 0.0216 -0.177)
OKLCHoklch(36.93% 0.178 277)
XYZxyz(7.7429, 4.3470, 30.9966)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30269A #909A26
analogous
#26569A #30269A #6A269A
triadic
#30269A #9A3026 #269A30
tetradic
#30269A #9A2656 #909A26 #269A6A
square
#30269A #9A2656 #909A26 #269A6A
split-complementary
#30269A #9A6A26 #569A26
monochromatic
#110E38 #211A69 #30269A #3F32CB #6C62D8

Accessibility & contrast

On white

11.23
#30269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#30269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30269A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30269A#FFFFFF#000000##FFFFFF
##30269A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30269a;
/* rgb */ color: rgb(48, 38, 154);
/* oklch */ color: oklch(36.9% 0.178 277.0);
Tailwind
colors: {
  custom: {
    50: '#7862b9',
    500: '#30269a',
    950: '#000000',
  },
}
SCSS
$custom: #30269a;
$custom-light: #7862b9;
$custom-dark: #000000;
JSON
{
  "hex": "#30269a",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 245.172,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36933,
    "c": 0.17827,
    "h": 277
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

primary
#30269A
secondary
#B5BE5E
accent
#E444D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30269A

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

Preview Lab → · Contrast checker → · Palette generator →

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