#3119B4#3119B4

#3119B4 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.4% C 0.219 H 275.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#3119B4
RGBrgb(49, 25, 180)
HSLhsl(249, 76%, 40%)
HSVhsv(249, 86%, 71%)
CMYKcmyk(72.8%, 86.1%, 0%, 29.4%)
CIE-LABlab(25.69, 55.15, -75.47)
CIE-LCHlch(25.69, 93.48, 306.16°)
OKLaboklab(38.44% 0.0213 -0.2181)
OKLCHoklch(38.44% 0.219 275.6)
XYZxyz(9.8498, 4.6426, 43.5482)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3119B4 #9CB419
analogous
#194FB4 #3119B4 #7E19B4
triadic
#3119B4 #B43119 #19B431
tetradic
#3119B4 #B4194F #9CB419 #19B47E
square
#3119B4 #B4194F #9CB419 #19B47E
split-complementary
#3119B4 #B47E19 #4FB419
monochromatic
#140A49 #22127E #3119B4 #4529E1 #745FE9

Accessibility & contrast

On white

10.89
#3119B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3119B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3119B4
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3119B4#FFFFFF#000000##FFFFFF
##3119B41.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3119b4;
/* rgb */ color: rgb(49, 25, 180);
/* oklch */ color: oklch(38.4% 0.219 275.6);
Tailwind
colors: {
  custom: {
    50: '#7f5dcc',
    500: '#3119b4',
    950: '#000000',
  },
}
SCSS
$custom: #3119b4;
$custom-light: #7f5dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3119b4",
  "rgb": {
    "r": 49,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 249.29,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.21913,
    "h": 275.6
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#3119B4
secondary
#BBCD5C
accent
#F236D5
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3119B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3119B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva