#314993#314993

#314993 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.125 H 267.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#314993
RGBrgb(49, 73, 147)
HSLhsl(225, 50%, 38%)
HSVhsv(225, 67%, 58%)
CMYKcmyk(66.7%, 50.3%, 0%, 42.4%)
CIE-LABlab(32.97, 16.09, -43.62)
CIE-LCHlch(32.97, 46.49, 290.24°)
OKLaboklab(42.8% -0.0056 -0.125)
OKLCHoklch(42.8% 0.125 267.4)
XYZxyz(8.9138, 7.5238, 28.5806)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314993 #937B31
analogous
#317A93 #314993 #4A3193
triadic
#314993 #933149 #499331
tetradic
#314993 #93317A #937B31 #31934A
square
#314993 #93317A #937B31 #31934A
split-complementary
#314993 #934A31 #7A9331
monochromatic
#121B37 #223265 #314993 #4160C0 #6F87CF

Accessibility & contrast

On white

8.38
#314993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#314993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314993
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314993#FFFFFF#000000##FFFFFF
##3149931.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215296
Deuteranopia (green-blind)
#074991
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #314993;
/* rgb */ color: rgb(49, 73, 147);
/* oklch */ color: oklch(42.8% 0.125 267.4);
Tailwind
colors: {
  custom: {
    50: '#747bb3',
    500: '#314993',
    950: '#000000',
  },
}
SCSS
$custom: #314993;
$custom-light: #747bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#314993",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 147
  },
  "hsl": {
    "h": 225.306,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42797,
    "c": 0.12513,
    "h": 267.4
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#314993
secondary
#B7A469
accent
#B74EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314993

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

Preview Lab → · Contrast checker → · Palette generator →

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