#3039CF#3039CF

#3039CF is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.224 H 270.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3039CF
RGBrgb(48, 57, 207)
HSLhsl(237, 62%, 50%)
HSVhsv(237, 77%, 81%)
CMYKcmyk(76.8%, 72.5%, 0%, 18.8%)
CIE-LABlab(34.10, 47.72, -77.44)
CIE-LCHlch(34.10, 90.96, 301.64°)
OKLaboklab(45.19% 0.0028 -0.2242)
OKLCHoklch(45.19% 0.224 270.7)
XYZxyz(13.9407, 8.0581, 59.8400)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039CF #CFC630
analogous
#3088CF #3039CF #7730CF
triadic
#3039CF #CF3039 #39CF30
tetradic
#3039CF #CF3088 #CFC630 #30CF77
square
#3039CF #CF3088 #CFC630 #30CF77
split-complementary
#3039CF #CF7730 #88CF30
monochromatic
#191E6C #242B9D #3039CF #6269DB #9398E6

Accessibility & contrast

On white

8.04
#3039CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3039CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039CF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039CF#FFFFFF#000000##FFFFFF
##3039CF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#0048CC
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3039cf;
/* rgb */ color: rgb(48, 57, 207);
/* oklch */ color: oklch(45.2% 0.224 270.7);
Tailwind
colors: {
  custom: {
    50: '#8371df',
    500: '#3039cf',
    950: '#000000',
  },
}
SCSS
$custom: #3039cf;
$custom-light: #8371df;
$custom-dark: #000000;
JSON
{
  "hex": "#3039cf",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 236.604,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.45187,
    "c": 0.22425,
    "h": 270.7
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#3039CF
secondary
#D1CD8A
accent
#DC42E5
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3039CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3039CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva