#3058C9#3058C9

#3058C9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.182 H 265.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3058C9
RGBrgb(48, 88, 201)
HSLhsl(224, 61%, 49%)
HSVhsv(224, 76%, 79%)
CMYKcmyk(76.1%, 56.2%, 0%, 21.2%)
CIE-LABlab(40.93, 26.28, -62.77)
CIE-LCHlch(40.93, 68.05, 292.71°)
OKLaboklab(50.04% -0.0145 -0.1811)
OKLCHoklch(50.04% 0.182 265.4)
XYZxyz(15.2475, 11.8232, 56.7255)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3058C9 #C9A130
analogous
#30A5C9 #3058C9 #5530C9
triadic
#3058C9 #C93058 #58C930
tetradic
#3058C9 #C930A5 #C9A130 #30C955
square
#3058C9 #C930A5 #C9A130 #30C955
split-complementary
#3058C9 #C95530 #A5C930
monochromatic
#182D66 #244298 #3058C9 #5E7ED8 #8FA5E4

Accessibility & contrast

On white

6.24
#3058C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3058C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3058C9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3058C9#FFFFFF#000000##FFFFFF
##3058C91.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3058c9;
/* rgb */ color: rgb(48, 88, 201);
/* oklch */ color: oklch(50.0% 0.182 265.4);
Tailwind
colors: {
  custom: {
    50: '#7f86da',
    500: '#3058c9',
    950: '#000000',
  },
}
SCSS
$custom: #3058c9;
$custom-light: #7f86da;
$custom-dark: #000000;
JSON
{
  "hex": "#3058c9",
  "rgb": {
    "r": 48,
    "g": 88,
    "b": 201
  },
  "hsl": {
    "h": 224.314,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50043,
    "c": 0.18168,
    "h": 265.4
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#3058C9
secondary
#CFBC86
accent
#BA43E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3058C9

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

Preview Lab → · Contrast checker → · Palette generator →

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