#3042C9#3042C9

#3042C9 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.0% C 0.207 H 269.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3042C9
RGBrgb(48, 66, 201)
HSLhsl(233, 61%, 49%)
HSVhsv(233, 76%, 79%)
CMYKcmyk(76.1%, 67.2%, 0%, 21.2%)
CIE-LABlab(35.48, 40.30, -71.68)
CIE-LCHlch(35.48, 82.24, 299.35°)
OKLaboklab(46% -0.0008 -0.2075)
OKLCHoklch(46% 0.207 269.8)
XYZxyz(13.7061, 8.7403, 56.2117)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3042C9 #C9B730
analogous
#308FC9 #3042C9 #6B30C9
triadic
#3042C9 #C93042 #42C930
tetradic
#3042C9 #C9308F #C9B730 #30C96B
square
#3042C9 #C9308F #C9B730 #30C96B
split-complementary
#3042C9 #C96B30 #8FC930
monochromatic
#182266 #243298 #3042C9 #5E6CD8 #8F99E4

Accessibility & contrast

On white

7.64
#3042C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3042C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3042C9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3042C9#FFFFFF#000000##FFFFFF
##3042C91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3042c9;
/* rgb */ color: rgb(48, 66, 201);
/* oklch */ color: oklch(46.0% 0.207 269.8);
Tailwind
colors: {
  custom: {
    50: '#8076db',
    500: '#3042c9',
    950: '#000000',
  },
}
SCSS
$custom: #3042c9;
$custom-light: #8076db;
$custom-dark: #000000;
JSON
{
  "hex": "#3042c9",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 232.941,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46004,
    "c": 0.20747,
    "h": 269.8
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#3042C9
secondary
#CFC686
accent
#D243E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3042C9

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

Preview Lab → · Contrast checker → · Palette generator →

#3042C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva