#30269E#30269E

#30269E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.183 H 276.5°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#30269E
RGBrgb(48, 38, 158)
HSLhsl(245, 61%, 38%)
HSVhsv(245, 76%, 62%)
CMYKcmyk(69.6%, 75.9%, 0%, 38%)
CIE-LABlab(25.21, 42.25, -63.00)
CIE-LCHlch(25.21, 75.86, 303.85°)
OKLaboklab(37.35% 0.0207 -0.1821)
OKLCHoklch(37.35% 0.183 276.5)
XYZxyz(8.0816, 4.4825, 32.7804)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30269E #949E26
analogous
#26589E #30269E #6C269E
triadic
#30269E #9E3026 #269E30
tetradic
#30269E #9E2658 #949E26 #269E6C
square
#30269E #9E2658 #949E26 #269E6C
split-complementary
#30269E #9E6C26 #589E26
monochromatic
#120E3B #211A6D #30269E #4033CE #6E65DA

Accessibility & contrast

On white

11.07
#30269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#30269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30269E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30269E#FFFFFF#000000##FFFFFF
##30269E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30269e;
/* rgb */ color: rgb(48, 38, 158);
/* oklch */ color: oklch(37.4% 0.183 276.5);
Tailwind
colors: {
  custom: {
    50: '#7963bc',
    500: '#30269e',
    950: '#000000',
  },
}
SCSS
$custom: #30269e;
$custom-light: #7963bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30269e",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 245,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37355,
    "c": 0.18325,
    "h": 276.5
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#30269E
secondary
#B8C060
accent
#E443D7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30269E

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

Preview Lab → · Contrast checker → · Palette generator →

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