#314183#314183

#314183 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.112 H 270.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#314183
RGBrgb(49, 65, 131)
HSLhsl(228, 46%, 35%)
HSVhsv(228, 63%, 51%)
CMYKcmyk(62.6%, 50.4%, 0%, 48.6%)
CIE-LABlab(29.59, 15.55, -39.21)
CIE-LCHlch(29.59, 42.18, 291.64°)
OKLaboklab(39.88% 0.0007 -0.1121)
OKLCHoklch(39.88% 0.112 270.4)
XYZxyz(7.2523, 6.0717, 22.2581)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314183 #837331
analogous
#316A83 #314183 #4A3183
triadic
#314183 #833141 #418331
tetradic
#314183 #83316A #837331 #31834A
square
#314183 #83316A #837331 #31834A
split-complementary
#314183 #834A31 #6A8331
monochromatic
#10152A #202B56 #314183 #4257B0 #687AC6

Accessibility & contrast

On white

9.48
#314183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#314183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314183
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314183#FFFFFF#000000##FFFFFF
##3141831.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A85
Deuteranopia (green-blind)
#104282
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314183;
/* rgb */ color: rgb(49, 65, 131);
/* oklch */ color: oklch(39.9% 0.112 270.4);
Tailwind
colors: {
  custom: {
    50: '#7175a7',
    500: '#314183',
    950: '#000000',
  },
}
SCSS
$custom: #314183;
$custom-light: #7175a7;
$custom-dark: #000000;
JSON
{
  "hex": "#314183",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 228.293,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3988,
    "c": 0.11213,
    "h": 270.4
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#314183
secondary
#AE9F62
accent
#BC53D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314183

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

Preview Lab → · Contrast checker → · Palette generator →

#314183 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva