#3047C1#3047C1

#3047C1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.192 H 269.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3047C1
RGBrgb(48, 71, 193)
HSLhsl(230, 60%, 47%)
HSVhsv(230, 75%, 76%)
CMYKcmyk(75.1%, 63.2%, 0%, 24.3%)
CIE-LABlab(35.95, 34.30, -66.24)
CIE-LCHlch(35.95, 74.59, 297.38°)
OKLaboklab(46.13% -0.0032 -0.1915)
OKLCHoklch(46.13% 0.192 269)
XYZxyz(13.0945, 8.9837, 51.4856)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047C1 #C1AA30
analogous
#308FC1 #3047C1 #6230C1
triadic
#3047C1 #C13047 #47C130
tetradic
#3047C1 #C1308F #C1AA30 #30C162
square
#3047C1 #C1308F #C1AA30 #30C162
split-complementary
#3047C1 #C16230 #8FC130
monochromatic
#18235F #243590 #3047C1 #596CD6 #8A98E2

Accessibility & contrast

On white

7.51
#3047C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3047C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047C1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047C1#FFFFFF#000000##FFFFFF
##3047C11.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#004EBF
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3047c1;
/* rgb */ color: rgb(48, 71, 193);
/* oklch */ color: oklch(46.1% 0.192 269.0);
Tailwind
colors: {
  custom: {
    50: '#7e7ad5',
    500: '#3047c1',
    950: '#000000',
  },
}
SCSS
$custom: #3047c1;
$custom-light: #7e7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3047c1",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 230.483,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46133,
    "c": 0.19154,
    "h": 269
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#3047C1
secondary
#CCC081
accent
#CA44E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #3047C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3047C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva