#30269B#30269B

#30269B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.180 H 276.8°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#30269B
RGBrgb(48, 38, 155)
HSLhsl(245, 61%, 38%)
HSVhsv(245, 75%, 61%)
CMYKcmyk(69%, 75.5%, 0%, 39.2%)
CIE-LABlab(24.89, 41.27, -61.69)
CIE-LCHlch(24.89, 74.22, 303.78°)
OKLaboklab(37.04% 0.0214 -0.1782)
OKLCHoklch(37.04% 0.18 276.8)
XYZxyz(7.8265, 4.3805, 31.4371)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30269B #919B26
analogous
#26579B #30269B #6A269B
triadic
#30269B #9B3026 #269B30
tetradic
#30269B #9B2657 #919B26 #269B6A
square
#30269B #9B2657 #919B26 #269B6A
split-complementary
#30269B #9B6A26 #579B26
monochromatic
#120E39 #211A6A #30269B #3F32CC #6D63D9

Accessibility & contrast

On white

11.19
#30269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30269B
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30269B#FFFFFF#000000##FFFFFF
##30269B1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30269b;
/* rgb */ color: rgb(48, 38, 155);
/* oklch */ color: oklch(37.0% 0.180 276.8);
Tailwind
colors: {
  custom: {
    50: '#7862ba',
    500: '#30269b',
    950: '#000000',
  },
}
SCSS
$custom: #30269b;
$custom-light: #7862ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30269b",
  "rgb": {
    "r": 48,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 245.128,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37038,
    "c": 0.17952,
    "h": 276.8
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30269B

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

Preview Lab → · Contrast checker → · Palette generator →

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