#302F92#302F92

#302F92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.158 H 276.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#302F92
RGBrgb(48, 47, 146)
HSLhsl(241, 51%, 38%)
HSVhsv(241, 68%, 57%)
CMYKcmyk(67.1%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.97, 32.81, -54.38)
CIE-LCHlch(25.97, 63.52, 301.10°)
OKLaboklab(37.54% 0.0167 -0.1569)
OKLCHoklch(37.54% 0.158 276.1)
XYZxyz(7.4220, 4.7361, 27.7116)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302F92 #91922F
analogous
#2F5F92 #302F92 #612F92
triadic
#302F92 #92302F #2F9230
tetradic
#302F92 #922F5F #91922F #2F9261
square
#302F92 #922F5F #91922F #2F9261
split-complementary
#302F92 #92612F #5F922F
monochromatic
#121135 #212064 #302F92 #3F3EC0 #6D6CD0

Accessibility & contrast

On white

10.78
#302F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#302F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302F92
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302F92#FFFFFF#000000##FFFFFF
##302F921.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #302f92;
/* rgb */ color: rgb(48, 47, 146);
/* oklch */ color: oklch(37.5% 0.158 276.1);
Tailwind
colors: {
  custom: {
    50: '#7568b3',
    500: '#302f92',
    950: '#000000',
  },
}
SCSS
$custom: #302f92;
$custom-light: #7568b3;
$custom-dark: #000000;
JSON
{
  "hex": "#302f92",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 240.606,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37543,
    "c": 0.15782,
    "h": 276.1
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#302F92
secondary
#B6B766
accent
#DB4DD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302F92

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

Preview Lab → · Contrast checker → · Palette generator →

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