#3161DB#3161DB

#3161DB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.194 H 264.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#3161DB
RGBrgb(49, 97, 219)
HSLhsl(223, 70%, 53%)
HSVhsv(223, 78%, 86%)
CMYKcmyk(77.6%, 55.7%, 0%, 14.1%)
CIE-LABlab(44.68, 27.28, -67.00)
CIE-LCHlch(44.68, 72.34, 292.16°)
OKLaboklab(53.3% -0.0189 -0.1934)
OKLCHoklch(53.3% 0.194 264.4)
XYZxyz(18.3230, 14.3147, 68.8014)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161DB #DBAB31
analogous
#31B6DB #3161DB #5631DB
triadic
#3161DB #DB3161 #61DB31
tetradic
#3161DB #DB31B6 #DBAB31 #31DB56
square
#3161DB #DB31B6 #DBAB31 #31DB56
split-complementary
#3161DB #DB5631 #B6DB31
monochromatic
#16337C #1F48B0 #3161DB #6589E4 #99B1ED

Accessibility & contrast

On white

5.44
#3161DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3161DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161DB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161DB#FFFFFF#000000##FFFFFF
##3161DB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3161db;
/* rgb */ color: rgb(49, 97, 219);
/* oklch */ color: oklch(53.3% 0.194 264.4);
Tailwind
colors: {
  custom: {
    50: '#838de7',
    500: '#3161db',
    950: '#000000',
  },
}
SCSS
$custom: #3161db;
$custom-light: #838de7;
$custom-dark: #000000;
JSON
{
  "hex": "#3161db",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 223.059,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.1943,
    "h": 264.4
  },
  "luminance": 0.14317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3161DB

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

Preview Lab → · Contrast checker → · Palette generator →

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