#302BB0#302BB0

#302BB0 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.200 H 274.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#302BB0
RGBrgb(48, 43, 176)
HSLhsl(242, 61%, 43%)
HSVhsv(242, 76%, 69%)
CMYKcmyk(72.7%, 75.6%, 0%, 31%)
CIE-LABlab(28.09, 45.36, -69.12)
CIE-LCHlch(28.09, 82.67, 303.27°)
OKLaboklab(39.96% 0.0143 -0.1999)
OKLCHoklch(39.96% 0.2 274.1)
XYZxyz(9.9167, 5.4897, 41.6029)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302BB0 #ABB02B
analogous
#2B68B0 #302BB0 #732BB0
triadic
#302BB0 #B0302B #2BB030
tetradic
#302BB0 #B02B68 #ABB02B #2BB073
square
#302BB0 #B02B68 #ABB02B #2BB073
split-complementary
#302BB0 #B0732B #68B02B
monochromatic
#15134E #231F7F #302BB0 #4C46D2 #7B78DE

Accessibility & contrast

On white

10.01
#302BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#302BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302BB0
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302BB0#FFFFFF#000000##FFFFFF
##302BB01.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #302bb0;
/* rgb */ color: rgb(48, 43, 176);
/* oklch */ color: oklch(40.0% 0.200 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d66c9',
    500: '#302bb0',
    950: '#000000',
  },
}
SCSS
$custom: #302bb0;
$custom-light: #7d66c9;
$custom-dark: #000000;
JSON
{
  "hex": "#302bb0",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 242.256,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39956,
    "c": 0.20044,
    "h": 274.1
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#302BB0
secondary
#C3C671
accent
#E444DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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