#3072CF#3072CF

#3072CF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.9% C 0.159 H 257.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3072CF
RGBrgb(48, 114, 207)
HSLhsl(215, 62%, 50%)
HSVhsv(215, 77%, 81%)
CMYKcmyk(76.8%, 44.9%, 0%, 18.8%)
CIE-LABlab(48.47, 11.86, -54.04)
CIE-LCHlch(48.47, 55.33, 282.37°)
OKLaboklab(55.92% -0.0338 -0.155)
OKLCHoklch(55.92% 0.159 257.7)
XYZxyz(18.4946, 17.1659, 61.3580)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3072CF #CF8D30
analogous
#30C2CF #3072CF #3D30CF
triadic
#3072CF #CF3072 #72CF30
tetradic
#3072CF #CF30C2 #CF8D30 #30CF3D
square
#3072CF #CF30C2 #CF8D30 #30CF3D
split-complementary
#3072CF #CF3D30 #C2CF30
monochromatic
#193B6C #24579D #3072CF #6294DB #93B6E6

Accessibility & contrast

On white

4.74
#3072CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3072CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3072CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3072CF#FFFFFF#000000##FFFFFF
##3072CF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#1F6CCD
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3072cf;
/* rgb */ color: rgb(48, 114, 207);
/* oklch */ color: oklch(55.9% 0.159 257.7);
Tailwind
colors: {
  custom: {
    50: '#7f99de',
    500: '#3072cf',
    950: '#000000',
  },
}
SCSS
$custom: #3072cf;
$custom-light: #7f99de;
$custom-dark: #000000;
JSON
{
  "hex": "#3072cf",
  "rgb": {
    "r": 48,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 215.094,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.55922,
    "c": 0.15859,
    "h": 257.7
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#3072CF
secondary
#D1B38A
accent
#A242E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3072CF

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

Preview Lab → · Contrast checker → · Palette generator →

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