#3023A0#3023A0

#3023A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.189 H 276.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#3023A0
RGBrgb(48, 35, 160)
HSLhsl(246, 64%, 38%)
HSVhsv(246, 78%, 63%)
CMYKcmyk(70%, 78.1%, 0%, 37.3%)
CIE-LABlab(24.85, 44.52, -64.80)
CIE-LCHlch(24.85, 78.62, 304.49°)
OKLaboklab(37.17% 0.0219 -0.1873)
OKLCHoklch(37.17% 0.189 276.7)
XYZxyz(8.1630, 4.3678, 33.6638)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3023A0 #93A023
analogous
#2354A0 #3023A0 #6E23A0
triadic
#3023A0 #A03023 #23A030
tetradic
#3023A0 #A02354 #93A023 #23A06E
square
#3023A0 #A02354 #93A023 #23A06E
split-complementary
#3023A0 #A06E23 #54A023
monochromatic
#120D3C #21186E #3023A0 #402FD1 #6E61DC

Accessibility & contrast

On white

11.21
#3023A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3023A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3023A0
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3023A0#FFFFFF#000000##FFFFFF
##3023A01.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3023a0;
/* rgb */ color: rgb(48, 35, 160);
/* oklch */ color: oklch(37.2% 0.189 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a61bd',
    500: '#3023a0',
    950: '#000000',
  },
}
SCSS
$custom: #3023a0;
$custom-light: #7a61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3023a0",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 246.24,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37169,
    "c": 0.18857,
    "h": 276.7
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3023A0

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

Preview Lab → · Contrast checker → · Palette generator →

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