#3175DB#3175DB

#3175DB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.4% C 0.171 H 258.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3175DB
RGBrgb(49, 117, 219)
HSLhsl(216, 70%, 53%)
HSVhsv(216, 78%, 86%)
CMYKcmyk(77.6%, 46.6%, 0%, 14.1%)
CIE-LABlab(50.08, 14.57, -58.26)
CIE-LCHlch(50.08, 60.06, 284.04°)
OKLaboklab(57.41% -0.0335 -0.1673)
OKLCHoklch(57.41% 0.171 258.7)
XYZxyz(20.4094, 18.4876, 69.4969)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3175DB #DB9731
analogous
#31CADB #3175DB #4231DB
triadic
#3175DB #DB3175 #75DB31
tetradic
#3175DB #DB31CA #DB9731 #31DB42
square
#3175DB #DB31CA #DB9731 #31DB42
split-complementary
#3175DB #DB4231 #CADB31
monochromatic
#163F7C #1F59B0 #3175DB #6598E4 #99BBED

Accessibility & contrast

On white

4.47
#3175DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#3175DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3175DB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3175DB#FFFFFF#000000##000000
##3175DB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#0A70D9
Tritanopia (blue-blind)
#008D9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3175db;
/* rgb */ color: rgb(49, 117, 219);
/* oklch */ color: oklch(57.4% 0.171 258.7);
Tailwind
colors: {
  custom: {
    50: '#829ce7',
    500: '#3175db',
    950: '#000000',
  },
}
SCSS
$custom: #3175db;
$custom-light: #829ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#3175db",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 216,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57414,
    "c": 0.17063,
    "h": 258.7
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#3175DB
secondary
#D9BB8F
accent
#A63BED
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3175DB

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

Preview Lab → · Contrast checker → · Palette generator →

#3175DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva