#3023A2#3023A2

#3023A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.191 H 276.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#3023A2
RGBrgb(48, 35, 162)
HSLhsl(246, 64%, 39%)
HSVhsv(246, 78%, 64%)
CMYKcmyk(70.4%, 78.4%, 0%, 36.5%)
CIE-LABlab(25.07, 45.15, -65.66)
CIE-LCHlch(25.07, 79.68, 304.51°)
OKLaboklab(37.39% 0.0214 -0.1898)
OKLCHoklch(37.39% 0.191 276.4)
XYZxyz(8.3394, 4.4383, 34.5926)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3023A2 #95A223
analogous
#2355A2 #3023A2 #6F23A2
triadic
#3023A2 #A23023 #23A230
tetradic
#3023A2 #A22355 #95A223 #23A26F
square
#3023A2 #A22355 #95A223 #23A26F
split-complementary
#3023A2 #A26F23 #55A223
monochromatic
#120D3D #211870 #3023A2 #4130D2 #6F62DD

Accessibility & contrast

On white

11.12
#3023A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3023A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3023A2
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3023A2#FFFFFF#000000##FFFFFF
##3023A21.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3023a2;
/* rgb */ color: rgb(48, 35, 162);
/* oklch */ color: oklch(37.4% 0.191 276.4);
Tailwind
colors: {
  custom: {
    50: '#7a61bf',
    500: '#3023a2',
    950: '#000000',
  },
}
SCSS
$custom: #3023a2;
$custom-light: #7a61bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3023a2",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 246.142,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37387,
    "c": 0.19098,
    "h": 276.4
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3023A2

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

Preview Lab → · Contrast checker → · Palette generator →

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