#30269F#30269F

#30269F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.184 H 276.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#30269F
RGBrgb(48, 38, 159)
HSLhsl(245, 61%, 39%)
HSVhsv(245, 76%, 62%)
CMYKcmyk(69.8%, 76.1%, 0%, 37.6%)
CIE-LABlab(25.31, 42.58, -63.43)
CIE-LCHlch(25.31, 76.40, 303.87°)
OKLaboklab(37.46% 0.0205 -0.1833)
OKLCHoklch(37.46% 0.184 276.4)
XYZxyz(8.1680, 4.5171, 33.2356)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30269F #959F26
analogous
#26589F #30269F #6C269F
triadic
#30269F #9F3026 #269F30
tetradic
#30269F #9F2658 #959F26 #269F6C
square
#30269F #9F2658 #959F26 #269F6C
split-complementary
#30269F #9F6C26 #589F26
monochromatic
#120E3C #211A6E #30269F #4134CE #6F65DA

Accessibility & contrast

On white

11.03
#30269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30269F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30269F#FFFFFF#000000##FFFFFF
##30269F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30269f;
/* rgb */ color: rgb(48, 38, 159);
/* oklch */ color: oklch(37.5% 0.184 276.4);
Tailwind
colors: {
  custom: {
    50: '#7963bd',
    500: '#30269f',
    950: '#000000',
  },
}
SCSS
$custom: #30269f;
$custom-light: #7963bd;
$custom-dark: #000000;
JSON
{
  "hex": "#30269f",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 244.959,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37461,
    "c": 0.18448,
    "h": 276.4
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#30269F
secondary
#B8C061
accent
#E543D7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30269F

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

Preview Lab → · Contrast checker → · Palette generator →

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