#3023A1#3023A1

#3023A1 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.190 H 276.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#3023A1
RGBrgb(48, 35, 161)
HSLhsl(246, 64%, 38%)
HSVhsv(246, 78%, 63%)
CMYKcmyk(70.2%, 78.3%, 0%, 36.9%)
CIE-LABlab(24.96, 44.83, -65.23)
CIE-LCHlch(24.96, 79.15, 304.50°)
OKLaboklab(37.28% 0.0216 -0.1885)
OKLCHoklch(37.28% 0.19 276.5)
XYZxyz(8.2509, 4.4029, 34.1263)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3023A1 #94A123
analogous
#2355A1 #3023A1 #6F23A1
triadic
#3023A1 #A13023 #23A130
tetradic
#3023A1 #A12355 #94A123 #23A16F
square
#3023A1 #A12355 #94A123 #23A16F
split-complementary
#3023A1 #A16F23 #55A123
monochromatic
#120D3C #21186F #3023A1 #402FD2 #6E62DD

Accessibility & contrast

On white

11.17
#3023A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3023A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3023A1
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3023A1#FFFFFF#000000##FFFFFF
##3023A11.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3023a1;
/* rgb */ color: rgb(48, 35, 161);
/* oklch */ color: oklch(37.3% 0.190 276.5);
Tailwind
colors: {
  custom: {
    50: '#7a61be',
    500: '#3023a1',
    950: '#000000',
  },
}
SCSS
$custom: #3023a1;
$custom-light: #7a61be;
$custom-dark: #000000;
JSON
{
  "hex": "#3023a1",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 246.19,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37278,
    "c": 0.18977,
    "h": 276.5
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#3023A1
secondary
#B8C25E
accent
#E741D6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3023A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3023A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva