#30286C#30286C

#30286C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.8% C 0.114 H 283.5°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#30286C
RGBrgb(48, 40, 108)
HSLhsl(247, 46%, 29%)
HSVhsv(247, 63%, 42%)
CMYKcmyk(55.6%, 63%, 0%, 57.6%)
CIE-LABlab(20.94, 24.10, -38.59)
CIE-LCHlch(20.94, 45.50, 301.99°)
OKLaboklab(32.84% 0.0266 -0.1106)
OKLCHoklch(32.84% 0.114 283.5)
XYZxyz(4.6837, 3.2284, 14.5608)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30286C #646C28
analogous
#28426C #30286C #52286C
triadic
#30286C #6C3028 #286C30
tetradic
#30286C #6C2842 #646C28 #286C52
square
#30286C #6C2842 #646C28 #286C52
split-complementary
#30286C #6C5228 #426C28
monochromatic
#0A0816 #1C173F #30286C #443999 #5D50BE

Accessibility & contrast

On white

12.76
#30286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#30286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30286C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30286C#FFFFFF#000000##FFFFFF
##30286C1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#173846
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #30286c;
/* rgb */ color: rgb(48, 40, 108);
/* oklch */ color: oklch(32.8% 0.114 283.5);
Tailwind
colors: {
  custom: {
    50: '#6e6297',
    500: '#30286c',
    950: '#000000',
  },
}
SCSS
$custom: #30286c;
$custom-light: #6e6297;
$custom-dark: #000000;
JSON
{
  "hex": "#30286c",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 247.059,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3284,
    "c": 0.11374,
    "h": 283.5
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#30286C
secondary
#959E51
accent
#D652C6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #30286C

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

Preview Lab → · Contrast checker → · Palette generator →

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