#314390#314390

#314390 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.129 H 270.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#314390
RGBrgb(49, 67, 144)
HSLhsl(229, 49%, 38%)
HSVhsv(229, 66%, 56%)
CMYKcmyk(66%, 53.5%, 0%, 43.5%)
CIE-LABlab(31.07, 19.01, -44.86)
CIE-LCHlch(31.07, 48.72, 292.96°)
OKLaboklab(41.29% 0 -0.1287)
OKLCHoklch(41.29% 0.129 270)
XYZxyz(8.3061, 6.6802, 27.2318)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314390 #907E31
analogous
#317290 #314390 #4F3190
triadic
#314390 #903143 #439031
tetradic
#314390 #903172 #907E31 #31904F
square
#314390 #903172 #907E31 #31904F
split-complementary
#314390 #904F31 #729031
monochromatic
#121935 #212E62 #314390 #4158BE #6E80CE

Accessibility & contrast

On white

8.99
#314390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#314390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314390
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314390#FFFFFF#000000##FFFFFF
##3143901.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134E93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314390;
/* rgb */ color: rgb(49, 67, 144);
/* oklch */ color: oklch(41.3% 0.129 270.0);
Tailwind
colors: {
  custom: {
    50: '#7476b1',
    500: '#314390',
    950: '#000000',
  },
}
SCSS
$custom: #314390;
$custom-light: #7476b1;
$custom-dark: #000000;
JSON
{
  "hex": "#314390",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 144
  },
  "hsl": {
    "h": 228.632,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41287,
    "c": 0.12872,
    "h": 270
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#314390
secondary
#B5A668
accent
#BF4FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314390

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

Preview Lab → · Contrast checker → · Palette generator →

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