#302E90#302E90

#302E90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.156 H 276.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#302E90
RGBrgb(48, 46, 144)
HSLhsl(241, 52%, 37%)
HSVhsv(241, 68%, 56%)
CMYKcmyk(66.7%, 68.1%, 0%, 43.5%)
CIE-LABlab(25.55, 32.74, -53.84)
CIE-LCHlch(25.55, 63.01, 301.31°)
OKLaboklab(37.18% 0.0178 -0.1553)
OKLCHoklch(37.18% 0.156 276.5)
XYZxyz(7.2283, 4.5954, 26.8862)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E90 #8E902E
analogous
#2E5D90 #302E90 #612E90
triadic
#302E90 #90302E #2E9030
tetradic
#302E90 #902E5D #8E902E #2E9061
square
#302E90 #902E5D #8E902E #2E9061
split-complementary
#302E90 #90612E #5D902E
monochromatic
#111033 #211F62 #302E90 #3F3DBE #6B69CF

Accessibility & contrast

On white

10.94
#302E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#302E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E90
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E90#FFFFFF#000000##FFFFFF
##302E901.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #302e90;
/* rgb */ color: rgb(48, 46, 144);
/* oklch */ color: oklch(37.2% 0.156 276.5);
Tailwind
colors: {
  custom: {
    50: '#7567b1',
    500: '#302e90',
    950: '#000000',
  },
}
SCSS
$custom: #302e90;
$custom-light: #7567b1;
$custom-dark: #000000;
JSON
{
  "hex": "#302e90",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 241.224,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37182,
    "c": 0.15634,
    "h": 276.5
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#302E90
secondary
#B4B664
accent
#DB4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302E90

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

Preview Lab → · Contrast checker → · Palette generator →

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