#302283#302283

#302283 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.153 H 281.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#302283
RGBrgb(48, 34, 131)
HSLhsl(249, 59%, 32%)
HSVhsv(249, 74%, 51%)
CMYKcmyk(63.4%, 74%, 0%, 48.6%)
CIE-LABlab(21.62, 35.67, -52.17)
CIE-LCHlch(21.62, 63.20, 304.36°)
OKLaboklab(33.98% 0.0293 -0.1504)
OKLCHoklch(33.98% 0.153 281)
XYZxyz(5.8864, 3.4107, 21.8165)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302283 #758322
analogous
#224483 #302283 #612283
triadic
#302283 #833022 #228330
tetradic
#302283 #832244 #758322 #228361
square
#302283 #832244 #758322 #228361
split-complementary
#302283 #836122 #448322
monochromatic
#0C0922 #1E1552 #302283 #422FB4 #614ED1

Accessibility & contrast

On white

12.48
#302283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#302283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302283
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302283#FFFFFF#000000##FFFFFF
##3022831.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #302283;
/* rgb */ color: rgb(48, 34, 131);
/* oklch */ color: oklch(34.0% 0.153 281.0);
Tailwind
colors: {
  custom: {
    50: '#735fa8',
    500: '#302283',
    950: '#000000',
  },
}
SCSS
$custom: #302283;
$custom-light: #735fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#302283",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 248.66,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33978,
    "c": 0.15327,
    "h": 281
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#302283
secondary
#A5B44C
accent
#E246CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #302283

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

Preview Lab → · Contrast checker → · Palette generator →

#302283 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva