#3023B7#3023B7

#3023B7 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.7% C 0.216 H 274.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3023B7
RGBrgb(48, 35, 183)
HSLhsl(245, 68%, 43%)
HSVhsv(245, 81%, 72%)
CMYKcmyk(73.8%, 80.9%, 0%, 28.2%)
CIE-LABlab(27.43, 51.67, -74.38)
CIE-LCHlch(27.43, 90.57, 304.79°)
OKLaboklab(39.72% 0.016 -0.2151)
OKLCHoklch(39.72% 0.216 274.3)
XYZxyz(10.3644, 5.2483, 45.2574)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3023B7 #AAB723
analogous
#2360B7 #3023B7 #7A23B7
triadic
#3023B7 #B73023 #23B730
tetradic
#3023B7 #B72360 #AAB723 #23B77A
square
#3023B7 #B72360 #AAB723 #23B77A
split-complementary
#3023B7 #B77A23 #60B723
monochromatic
#150F50 #231984 #3023B7 #4B3DDA #7B71E4

Accessibility & contrast

On white

10.24
#3023B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3023B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3023B7
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3023B7#FFFFFF#000000##FFFFFF
##3023B71.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BB
Deuteranopia (green-blind)
#003AB4
Tritanopia (blue-blind)
#00516E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3023b7;
/* rgb */ color: rgb(48, 35, 183);
/* oklch */ color: oklch(39.7% 0.216 274.3);
Tailwind
colors: {
  custom: {
    50: '#7f62ce',
    500: '#3023b7',
    950: '#000000',
  },
}
SCSS
$custom: #3023b7;
$custom-light: #7f62ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3023b7",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 183
  },
  "hsl": {
    "h": 245.27,
    "s": 67.89,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.2157,
    "h": 274.3
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#3023B7
secondary
#C2CA6B
accent
#EB3DDC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3023B7

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

Preview Lab → · Contrast checker → · Palette generator →

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