#3038C5#3038C5

#3038C5 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.213 H 271.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3038C5
RGBrgb(48, 56, 197)
HSLhsl(237, 61%, 48%)
HSVhsv(237, 76%, 77%)
CMYKcmyk(75.6%, 71.6%, 0%, 22.7%)
CIE-LABlab(32.89, 44.94, -73.61)
CIE-LCHlch(32.89, 86.25, 301.40°)
OKLaboklab(44.02% 0.0046 -0.2131)
OKLCHoklch(44.02% 0.213 271.2)
XYZxyz(12.7077, 7.4866, 53.5878)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3038C5 #C5BD30
analogous
#3082C5 #3038C5 #7330C5
triadic
#3038C5 #C53038 #38C530
tetradic
#3038C5 #C53082 #C5BD30 #30C573
square
#3038C5 #C53082 #C5BD30 #30C573
split-complementary
#3038C5 #C57330 #82C530
monochromatic
#181C63 #242A94 #3038C5 #5B62D7 #8C91E3

Accessibility & contrast

On white

8.41
#3038C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3038C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3038C5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3038C5#FFFFFF#000000##FFFFFF
##3038C51.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0046C2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3038c5;
/* rgb */ color: rgb(48, 56, 197);
/* oklch */ color: oklch(44.0% 0.213 271.2);
Tailwind
colors: {
  custom: {
    50: '#8070d8',
    500: '#3038c5',
    950: '#000000',
  },
}
SCSS
$custom: #3038c5;
$custom-light: #8070d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3038c5",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 236.779,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44019,
    "c": 0.21314,
    "h": 271.2
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#3038C5
secondary
#CDC984
accent
#DB44E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3038C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3038C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva