#3047CA#3047CA

#3047CA is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.0% C 0.203 H 269.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3047CA
RGBrgb(48, 71, 202)
HSLhsl(231, 62%, 49%)
HSVhsv(231, 76%, 79%)
CMYKcmyk(76.2%, 64.9%, 0%, 20.8%)
CIE-LABlab(36.74, 37.55, -70.20)
CIE-LCHlch(36.74, 79.61, 298.14°)
OKLaboklab(46.95% -0.0036 -0.2031)
OKLCHoklch(46.95% 0.203 269)
XYZxyz(14.1292, 9.3976, 56.9349)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3047CA #CAB330
analogous
#3094CA #3047CA #6630CA
triadic
#3047CA #CA3047 #47CA30
tetradic
#3047CA #CA3094 #CAB330 #30CA66
square
#3047CA #CA3094 #CAB330 #30CA66
split-complementary
#3047CA #CA6630 #94CA30
monochromatic
#182467 #243699 #3047CA #5E71D9 #909CE5

Accessibility & contrast

On white

7.29
#3047CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3047CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3047CA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3047CA#FFFFFF#000000##FFFFFF
##3047CA1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#004FC8
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3047ca;
/* rgb */ color: rgb(48, 71, 202);
/* oklch */ color: oklch(47.0% 0.203 269.0);
Tailwind
colors: {
  custom: {
    50: '#807adb',
    500: '#3047ca',
    950: '#000000',
  },
}
SCSS
$custom: #3047ca;
$custom-light: #807adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3047ca",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 231.039,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.20313,
    "h": 269
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#3047CA
secondary
#CFC487
accent
#CD43E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3047CA

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

Preview Lab → · Contrast checker → · Palette generator →

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