#302AAF#302AAF

#302AAF is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.200 H 274.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#302AAF
RGBrgb(48, 42, 175)
HSLhsl(243, 61%, 43%)
HSVhsv(243, 76%, 69%)
CMYKcmyk(72.6%, 76%, 0%, 31.4%)
CIE-LABlab(27.79, 45.58, -69.01)
CIE-LCHlch(27.79, 82.71, 303.44°)
OKLaboklab(39.71% 0.015 -0.1996)
OKLCHoklch(39.71% 0.2 274.3)
XYZxyz(9.7822, 5.3785, 41.0717)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302AAF #A9AF2A
analogous
#2A66AF #302AAF #732AAF
triadic
#302AAF #AF302A #2AAF30
tetradic
#302AAF #AF2A66 #A9AF2A #2AAF73
square
#302AAF #AF2A66 #A9AF2A #2AAF73
split-complementary
#302AAF #AF732A #66AF2A
monochromatic
#15124C #221E7E #302AAF #4A44D2 #7A75DE

Accessibility & contrast

On white

10.12
#302AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#302AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302AAF
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302AAF#FFFFFF#000000##FFFFFF
##302AAF1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #302aaf;
/* rgb */ color: rgb(48, 42, 175);
/* oklch */ color: oklch(39.7% 0.200 274.3);
Tailwind
colors: {
  custom: {
    50: '#7c66c8',
    500: '#302aaf',
    950: '#000000',
  },
}
SCSS
$custom: #302aaf;
$custom-light: #7c66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#302aaf",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 242.707,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.20018,
    "h": 274.3
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#302AAF
secondary
#C2C66F
accent
#E443DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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