#3023A9#3023A9

#3023A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.2% C 0.199 H 275.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3023A9
RGBrgb(48, 35, 169)
HSLhsl(246, 66%, 40%)
HSVhsv(246, 79%, 66%)
CMYKcmyk(71.6%, 79.3%, 0%, 33.7%)
CIE-LABlab(25.85, 47.35, -68.62)
CIE-LCHlch(25.85, 83.37, 304.61°)
OKLaboklab(38.16% 0.0196 -0.1984)
OKLCHoklch(38.16% 0.199 275.6)
XYZxyz(8.9790, 4.6942, 37.9613)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3023A9 #9CA923
analogous
#2359A9 #3023A9 #7323A9
triadic
#3023A9 #A93023 #23A930
tetradic
#3023A9 #A92359 #9CA923 #23A973
square
#3023A9 #A92359 #9CA923 #23A973
split-complementary
#3023A9 #A97323 #59A923
monochromatic
#130E44 #221976 #3023A9 #4434D5 #7367DF

Accessibility & contrast

On white

10.83
#3023A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3023A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3023A9
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3023A9#FFFFFF#000000##FFFFFF
##3023A91.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3023a9;
/* rgb */ color: rgb(48, 35, 169);
/* oklch */ color: oklch(38.2% 0.199 275.6);
Tailwind
colors: {
  custom: {
    50: '#7c61c4',
    500: '#3023a9',
    950: '#000000',
  },
}
SCSS
$custom: #3023a9;
$custom-light: #7c61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3023a9",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 245.821,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.19934,
    "h": 275.6
  },
  "luminance": 0.04695
}

Semantic roles & 50–950 ramp

primary
#3023A9
secondary
#BCC563
accent
#E93FD8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3023A9

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

Preview Lab → · Contrast checker → · Palette generator →

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