#302A94#302A94

#302A94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.166 H 277.0°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#302A94
RGBrgb(48, 42, 148)
HSLhsl(243, 56%, 37%)
HSVhsv(243, 72%, 58%)
CMYKcmyk(67.6%, 71.6%, 0%, 42%)
CIE-LABlab(25.02, 36.60, -57.18)
CIE-LCHlch(25.02, 67.89, 302.63°)
OKLaboklab(36.92% 0.0202 -0.1651)
OKLCHoklch(36.92% 0.166 277)
XYZxyz(7.3904, 4.4218, 28.4753)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A94 #8E942A
analogous
#2A5994 #302A94 #652A94
triadic
#302A94 #94302A #2A9430
tetradic
#302A94 #942A59 #8E942A #2A9465
square
#302A94 #942A59 #8E942A #2A9465
split-complementary
#302A94 #94652A #59942A
monochromatic
#110F35 #211C64 #302A94 #3F38C4 #6B65D3

Accessibility & contrast

On white

11.14
#302A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#302A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A94
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A94#FFFFFF#000000##FFFFFF
##302A941.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302a94;
/* rgb */ color: rgb(48, 42, 148);
/* oklch */ color: oklch(36.9% 0.166 277.0);
Tailwind
colors: {
  custom: {
    50: '#7665b4',
    500: '#302a94',
    950: '#000000',
  },
}
SCSS
$custom: #302a94;
$custom-light: #7665b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302a94",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 243.396,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36916,
    "c": 0.16633,
    "h": 277
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#302A94
secondary
#B4B960
accent
#DF49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #302A94

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

Preview Lab → · Contrast checker → · Palette generator →

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