#314193#314193

#314193 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.136 H 270.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#314193
RGBrgb(49, 65, 147)
HSLhsl(230, 50%, 38%)
HSVhsv(230, 67%, 58%)
CMYKcmyk(66.7%, 55.8%, 0%, 42.4%)
CIE-LABlab(30.73, 21.46, -47.23)
CIE-LCHlch(30.73, 51.88, 294.44°)
OKLaboklab(41.11% 0.0022 -0.1357)
OKLCHoklch(41.11% 0.136 270.9)
XYZxyz(8.4216, 6.5394, 28.4165)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314193 #938331
analogous
#317293 #314193 #523193
triadic
#314193 #933141 #419331
tetradic
#314193 #933172 #938331 #319352
square
#314193 #933172 #938331 #319352
split-complementary
#314193 #935231 #729331
monochromatic
#121837 #222D65 #314193 #4156C0 #6F7FCF

Accessibility & contrast

On white

9.10
#314193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#314193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314193
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314193#FFFFFF#000000##FFFFFF
##3141931.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024D96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314193;
/* rgb */ color: rgb(49, 65, 147);
/* oklch */ color: oklch(41.1% 0.136 270.9);
Tailwind
colors: {
  custom: {
    50: '#7575b3',
    500: '#314193',
    950: '#000000',
  },
}
SCSS
$custom: #314193;
$custom-light: #7575b3;
$custom-dark: #000000;
JSON
{
  "hex": "#314193",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 147
  },
  "hsl": {
    "h": 230.204,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.13576,
    "h": 270.9
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#314193
secondary
#B7AA69
accent
#C34EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314193

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

Preview Lab → · Contrast checker → · Palette generator →

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