#3023A8#3023A8

#3023A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.198 H 275.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#3023A8
RGBrgb(48, 35, 168)
HSLhsl(246, 66%, 40%)
HSVhsv(246, 79%, 66%)
CMYKcmyk(71.4%, 79.2%, 0%, 34.1%)
CIE-LABlab(25.73, 47.04, -68.20)
CIE-LCHlch(25.73, 82.85, 304.60°)
OKLaboklab(38.05% 0.0199 -0.1972)
OKLCHoklch(38.05% 0.198 275.7)
XYZxyz(8.8855, 4.6568, 37.4688)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3023A8 #9BA823
analogous
#2358A8 #3023A8 #7323A8
triadic
#3023A8 #A83023 #23A830
tetradic
#3023A8 #A82358 #9BA823 #23A873
square
#3023A8 #A82358 #9BA823 #23A873
split-complementary
#3023A8 #A87323 #58A823
monochromatic
#130E43 #221875 #3023A8 #4334D5 #7266DF

Accessibility & contrast

On white

10.87
#3023A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3023A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3023A8
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3023A8#FFFFFF#000000##FFFFFF
##3023A81.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3023a8;
/* rgb */ color: rgb(48, 35, 168);
/* oklch */ color: oklch(38.0% 0.198 275.7);
Tailwind
colors: {
  custom: {
    50: '#7b61c3',
    500: '#3023a8',
    950: '#000000',
  },
}
SCSS
$custom: #3023a8;
$custom-light: #7b61c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3023a8",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 245.865,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.19817,
    "h": 275.7
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#3023A8
secondary
#BBC562
accent
#E83FD8
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3023A8

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

Preview Lab → · Contrast checker → · Palette generator →

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