#302BA0#302BA0

#302BA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.181 H 275.5°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#302BA0
RGBrgb(48, 43, 160)
HSLhsl(243, 58%, 40%)
HSVhsv(243, 73%, 63%)
CMYKcmyk(70%, 73.1%, 0%, 37.3%)
CIE-LABlab(26.43, 40.06, -62.20)
CIE-LCHlch(26.43, 73.99, 302.78°)
OKLaboklab(38.29% 0.0174 -0.1798)
OKLCHoklch(38.29% 0.181 275.5)
XYZxyz(8.4259, 4.8934, 33.7514)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302BA0 #9BA02B
analogous
#2B61A0 #302BA0 #6A2BA0
triadic
#302BA0 #A0302B #2BA030
tetradic
#302BA0 #A02B61 #9BA02B #2BA06A
square
#302BA0 #A02B61 #9BA02B #2BA06A
split-complementary
#302BA0 #A06A2B #61A02B
monochromatic
#131140 #221E70 #302BA0 #433DCB #726ED8

Accessibility & contrast

On white

10.61
#302BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#302BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302BA0
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302BA0#FFFFFF#000000##FFFFFF
##302BA01.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #302ba0;
/* rgb */ color: rgb(48, 43, 160);
/* oklch */ color: oklch(38.3% 0.181 275.5);
Tailwind
colors: {
  custom: {
    50: '#7966bd',
    500: '#302ba0',
    950: '#000000',
  },
}
SCSS
$custom: #302ba0;
$custom-light: #7966bd;
$custom-dark: #000000;
JSON
{
  "hex": "#302ba0",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 242.564,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38285,
    "c": 0.18062,
    "h": 275.5
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#302BA0
secondary
#BBBF68
accent
#E147DA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #302BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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