#302CAA#302CAA

#302CAA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.192 H 274.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#302CAA
RGBrgb(48, 44, 170)
HSLhsl(242, 59%, 42%)
HSVhsv(242, 74%, 67%)
CMYKcmyk(71.8%, 74.1%, 0%, 33.3%)
CIE-LABlab(27.66, 42.82, -66.22)
CIE-LCHlch(27.66, 78.86, 302.89°)
OKLaboklab(39.47% 0.015 -0.1915)
OKLCHoklch(39.47% 0.192 274.5)
XYZxyz(9.3729, 5.3311, 38.5575)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CAA #A6AA2C
analogous
#2C67AA #302CAA #6F2CAA
triadic
#302CAA #AA302C #2CAA30
tetradic
#302CAA #AA2C67 #A6AA2C #2CAA6F
square
#302CAA #AA2C67 #A6AA2C #2CAA6F
split-complementary
#302CAA #AA6F2C #67AA2C
monochromatic
#151349 #221F79 #302CAA #4944CF #7875DB

Accessibility & contrast

On white

10.16
#302CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#302CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302CAA
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CAA#FFFFFF#000000##FFFFFF
##302CAA1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #302caa;
/* rgb */ color: rgb(48, 44, 170);
/* oklch */ color: oklch(39.5% 0.192 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b67c5',
    500: '#302caa',
    950: '#000000',
  },
}
SCSS
$custom: #302caa;
$custom-light: #7b67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#302caa",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 241.905,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39466,
    "c": 0.1921,
    "h": 274.5
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#302CAA
secondary
#C0C36F
accent
#E246DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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