#30269C#30269C

#30269C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.181 H 276.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#30269C
RGBrgb(48, 38, 156)
HSLhsl(245, 61%, 38%)
HSVhsv(245, 76%, 61%)
CMYKcmyk(69.2%, 75.6%, 0%, 38.8%)
CIE-LABlab(25.00, 41.60, -62.12)
CIE-LCHlch(25.00, 74.77, 303.81°)
OKLaboklab(37.14% 0.0212 -0.1795)
OKLCHoklch(37.14% 0.181 276.7)
XYZxyz(7.9108, 4.4142, 31.8812)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30269C #929C26
analogous
#26579C #30269C #6B269C
triadic
#30269C #9C3026 #269C30
tetradic
#30269C #9C2657 #929C26 #269C6B
square
#30269C #9C2657 #929C26 #269C6B
split-complementary
#30269C #9C6B26 #579C26
monochromatic
#120E3A #211A6B #30269C #3F32CD #6D63D9

Accessibility & contrast

On white

11.15
#30269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#30269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30269C
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30269C#FFFFFF#000000##FFFFFF
##30269C1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30269c;
/* rgb */ color: rgb(48, 38, 156);
/* oklch */ color: oklch(37.1% 0.181 276.7);
Tailwind
colors: {
  custom: {
    50: '#7862ba',
    500: '#30269c',
    950: '#000000',
  },
}
SCSS
$custom: #30269c;
$custom-light: #7862ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30269c",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 245.085,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37144,
    "c": 0.18076,
    "h": 276.7
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30269C

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

Preview Lab → · Contrast checker → · Palette generator →

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