#3023A4#3023A4

#3023A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.193 H 276.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#3023A4
RGBrgb(48, 35, 164)
HSLhsl(246, 65%, 39%)
HSVhsv(246, 79%, 64%)
CMYKcmyk(70.7%, 78.7%, 0%, 35.7%)
CIE-LABlab(25.29, 45.78, -66.51)
CIE-LCHlch(25.29, 80.74, 304.54°)
OKLaboklab(37.61% 0.0209 -0.1923)
OKLCHoklch(37.61% 0.193 276.2)
XYZxyz(8.5186, 4.5100, 35.5363)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3023A4 #97A423
analogous
#2356A4 #3023A4 #7123A4
triadic
#3023A4 #A43023 #23A430
tetradic
#3023A4 #A42356 #97A423 #23A471
square
#3023A4 #A42356 #97A423 #23A471
split-complementary
#3023A4 #A47123 #56A423
monochromatic
#120D3F #211872 #3023A4 #4131D3 #7064DE

Accessibility & contrast

On white

11.04
#3023A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3023A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3023A4
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3023A4#FFFFFF#000000##FFFFFF
##3023A41.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3023a4;
/* rgb */ color: rgb(48, 35, 164);
/* oklch */ color: oklch(37.6% 0.193 276.2);
Tailwind
colors: {
  custom: {
    50: '#7a61c0',
    500: '#3023a4',
    950: '#000000',
  },
}
SCSS
$custom: #3023a4;
$custom-light: #7a61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3023a4",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 246.047,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37606,
    "c": 0.19339,
    "h": 276.2
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

primary
#3023A4
secondary
#B9C360
accent
#E840D7
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3023A4

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

Preview Lab → · Contrast checker → · Palette generator →

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