#302B8D#302B8D

#302B8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.156 H 277.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#302B8D
RGBrgb(48, 43, 141)
HSLhsl(243, 53%, 36%)
HSVhsv(243, 70%, 55%)
CMYKcmyk(66%, 69.5%, 0%, 44.7%)
CIE-LABlab(24.57, 33.59, -53.58)
CIE-LCHlch(24.57, 63.24, 302.08°)
OKLaboklab(36.39% 0.0205 -0.1546)
OKLCHoklch(36.39% 0.156 277.6)
XYZxyz(6.8890, 4.2787, 25.6570)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B8D #888D2B
analogous
#2B578D #302B8D #612B8D
triadic
#302B8D #8D302B #2B8D30
tetradic
#302B8D #8D2B57 #888D2B #2B8D61
square
#302B8D #8D2B57 #888D2B #2B8D61
split-complementary
#302B8D #8D612B #578D2B
monochromatic
#100E2F #201D5E #302B8D #4039BC #6963CF

Accessibility & contrast

On white

11.32
#302B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#302B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B8D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B8D#FFFFFF#000000##FFFFFF
##302B8D1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302b8d;
/* rgb */ color: rgb(48, 43, 141);
/* oklch */ color: oklch(36.4% 0.156 277.6);
Tailwind
colors: {
  custom: {
    50: '#7565af',
    500: '#302b8d',
    950: '#000000',
  },
}
SCSS
$custom: #302b8d;
$custom-light: #7565af;
$custom-dark: #000000;
JSON
{
  "hex": "#302b8d",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 243.061,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.15593,
    "h": 277.6
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#302B8D
secondary
#B1B65E
accent
#DD4BD5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #302B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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