#302DAF#302DAF

#302DAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.197 H 273.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#302DAF
RGBrgb(48, 45, 175)
HSLhsl(241, 59%, 43%)
HSVhsv(241, 74%, 69%)
CMYKcmyk(72.6%, 74.3%, 0%, 31.4%)
CIE-LABlab(28.38, 43.91, -68.04)
CIE-LCHlch(28.38, 80.98, 302.84°)
OKLaboklab(40.13% 0.0135 -0.1968)
OKLCHoklch(40.13% 0.197 273.9)
XYZxyz(9.8926, 5.5993, 41.1086)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302DAF #ACAF2D
analogous
#2D6BAF #302DAF #712DAF
triadic
#302DAF #AF302D #2DAF30
tetradic
#302DAF #AF2D6B #ACAF2D #2DAF71
square
#302DAF #AF2D6B #ACAF2D #2DAF71
split-complementary
#302DAF #AF712D #6BAF2D
monochromatic
#15144E #23207E #302DAF #4C49D0 #7C7ADD

Accessibility & contrast

On white

9.91
#302DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#302DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302DAF
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302DAF#FFFFFF#000000##FFFFFF
##302DAF1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #302daf;
/* rgb */ color: rgb(48, 45, 175);
/* oklch */ color: oklch(40.1% 0.197 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c68c8',
    500: '#302daf',
    950: '#000000',
  },
}
SCSS
$custom: #302daf;
$custom-light: #7c68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#302daf",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 241.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40132,
    "c": 0.19727,
    "h": 273.9
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#302DAF
secondary
#C3C573
accent
#E246DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302DAF

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

Preview Lab → · Contrast checker → · Palette generator →

#302DAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva