#3034CF#3034CF

#3034CF is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.229 H 271.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3034CF
RGBrgb(48, 52, 207)
HSLhsl(238, 62%, 50%)
HSVhsv(238, 77%, 81%)
CMYKcmyk(76.8%, 74.9%, 0%, 18.8%)
CIE-LABlab(33.11, 50.52, -79.08)
CIE-LCHlch(33.11, 93.84, 302.57°)
OKLaboklab(44.48% 0.0048 -0.229)
OKLCHoklch(44.48% 0.229 271.2)
XYZxyz(13.7056, 7.5878, 59.7617)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034CF #CFCB30
analogous
#3083CF #3034CF #7C30CF
triadic
#3034CF #CF3034 #34CF30
tetradic
#3034CF #CF3083 #CFCB30 #30CF7C
square
#3034CF #CF3083 #CFCB30 #30CF7C
split-complementary
#3034CF #CF7C30 #83CF30
monochromatic
#191B6C #24289D #3034CF #6265DB #9395E6

Accessibility & contrast

On white

8.34
#3034CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3034CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034CF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034CF#FFFFFF#000000##FFFFFF
##3034CF1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D3
Deuteranopia (green-blind)
#0046CC
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3034cf;
/* rgb */ color: rgb(48, 52, 207);
/* oklch */ color: oklch(44.5% 0.229 271.2);
Tailwind
colors: {
  custom: {
    50: '#836edf',
    500: '#3034cf',
    950: '#000000',
  },
}
SCSS
$custom: #3034cf;
$custom-light: #836edf;
$custom-dark: #000000;
JSON
{
  "hex": "#3034cf",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 238.491,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.22902,
    "h": 271.2
  },
  "luminance": 0.07589
}

Semantic roles & 50–950 ramp

primary
#3034CF
secondary
#D1CF8A
accent
#E142E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3034CF

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

Preview Lab → · Contrast checker → · Palette generator →

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