#3160DB#3160DB

#3160DB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.195 H 264.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#3160DB
RGBrgb(49, 96, 219)
HSLhsl(223, 70%, 53%)
HSVhsv(223, 78%, 86%)
CMYKcmyk(77.6%, 56.2%, 0%, 14.1%)
CIE-LABlab(44.42, 27.92, -67.42)
CIE-LCHlch(44.42, 72.98, 292.50°)
OKLaboklab(53.1% -0.0182 -0.1946)
OKLCHoklch(53.1% 0.195 264.7)
XYZxyz(18.2311, 14.1311, 68.7708)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3160DB #DBAC31
analogous
#31B5DB #3160DB #5731DB
triadic
#3160DB #DB3160 #60DB31
tetradic
#3160DB #DB31B5 #DBAC31 #31DB57
square
#3160DB #DB31B5 #DBAC31 #31DB57
split-complementary
#3160DB #DB5731 #B5DB31
monochromatic
#16327C #1F47B0 #3160DB #6588E4 #99B0ED

Accessibility & contrast

On white

5.49
#3160DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3160DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3160DB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3160DB#FFFFFF#000000##FFFFFF
##3160DB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3160db;
/* rgb */ color: rgb(49, 96, 219);
/* oklch */ color: oklch(53.1% 0.195 264.7);
Tailwind
colors: {
  custom: {
    50: '#838ce7',
    500: '#3160db',
    950: '#000000',
  },
}
SCSS
$custom: #3160db;
$custom-light: #838ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#3160db",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 223.412,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.19549,
    "h": 264.7
  },
  "luminance": 0.14133
}

Semantic roles & 50–950 ramp

primary
#3160DB
secondary
#D9C48F
accent
#BC3BED
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #3160DB

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

Preview Lab → · Contrast checker → · Palette generator →

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