#30269D#30269D

#30269D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.182 H 276.6°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#30269D
RGBrgb(48, 38, 157)
HSLhsl(245, 61%, 38%)
HSVhsv(245, 76%, 62%)
CMYKcmyk(69.4%, 75.8%, 0%, 38.4%)
CIE-LABlab(25.10, 41.93, -62.56)
CIE-LCHlch(25.10, 75.31, 303.83°)
OKLaboklab(37.25% 0.021 -0.1808)
OKLCHoklch(37.25% 0.182 276.6)
XYZxyz(7.9959, 4.4482, 32.3290)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30269D #939D26
analogous
#26579D #30269D #6B269D
triadic
#30269D #9D3026 #269D30
tetradic
#30269D #9D2657 #939D26 #269D6B
square
#30269D #9D2657 #939D26 #269D6B
split-complementary
#30269D #9D6B26 #579D26
monochromatic
#120E3A #211A6C #30269D #4033CE #6E64D9

Accessibility & contrast

On white

11.11
#30269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#30269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30269D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30269D#FFFFFF#000000##FFFFFF
##30269D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30269d;
/* rgb */ color: rgb(48, 38, 157);
/* oklch */ color: oklch(37.2% 0.182 276.6);
Tailwind
colors: {
  custom: {
    50: '#7962bb',
    500: '#30269d',
    950: '#000000',
  },
}
SCSS
$custom: #30269d;
$custom-light: #7962bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30269d",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 245.042,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37249,
    "c": 0.18201,
    "h": 276.6
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#30269D
secondary
#B7BF60
accent
#E444D7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30269D

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

Preview Lab → · Contrast checker → · Palette generator →

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