#3023A3#3023A3

#3023A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.192 H 276.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#3023A3
RGBrgb(48, 35, 163)
HSLhsl(246, 65%, 39%)
HSVhsv(246, 79%, 64%)
CMYKcmyk(70.6%, 78.5%, 0%, 36.1%)
CIE-LABlab(25.18, 45.47, -66.08)
CIE-LCHlch(25.18, 80.22, 304.53°)
OKLaboklab(37.5% 0.0211 -0.191)
OKLCHoklch(37.5% 0.192 276.3)
XYZxyz(8.4287, 4.4740, 35.0626)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3023A3 #96A323
analogous
#2356A3 #3023A3 #7023A3
triadic
#3023A3 #A33023 #23A330
tetradic
#3023A3 #A32356 #96A323 #23A370
square
#3023A3 #A32356 #96A323 #23A370
split-complementary
#3023A3 #A37023 #56A323
monochromatic
#120D3E #211871 #3023A3 #4131D3 #6F63DD

Accessibility & contrast

On white

11.08
#3023A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3023A3
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3023A3#FFFFFF#000000##FFFFFF
##3023A31.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3023a3;
/* rgb */ color: rgb(48, 35, 163);
/* oklch */ color: oklch(37.5% 0.192 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a61c0',
    500: '#3023a3',
    950: '#000000',
  },
}
SCSS
$custom: #3023a3;
$custom-light: #7a61c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3023a3",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 246.094,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.19218,
    "h": 276.3
  },
  "luminance": 0.04475
}

Semantic roles & 50–950 ramp

primary
#3023A3
secondary
#B9C35F
accent
#E840D7
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3023A3

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

Preview Lab → · Contrast checker → · Palette generator →

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