#314893#314893

#314893 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.126 H 267.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#314893
RGBrgb(49, 72, 147)
HSLhsl(226, 50%, 38%)
HSVhsv(226, 67%, 58%)
CMYKcmyk(66.7%, 51%, 0%, 42.4%)
CIE-LABlab(32.69, 16.76, -44.08)
CIE-LCHlch(32.69, 47.16, 290.81°)
OKLaboklab(42.58% -0.0046 -0.1264)
OKLCHoklch(42.58% 0.126 267.9)
XYZxyz(8.8486, 7.3935, 28.5589)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314893 #937C31
analogous
#317993 #314893 #4B3193
triadic
#314893 #933148 #489331
tetradic
#314893 #933179 #937C31 #31934B
square
#314893 #933179 #937C31 #31934B
split-complementary
#314893 #934B31 #799331
monochromatic
#121B37 #223265 #314893 #415FC0 #6F86CF

Accessibility & contrast

On white

8.47
#314893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#314893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314893
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314893#FFFFFF#000000##FFFFFF
##3148931.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5296
Deuteranopia (green-blind)
#024991
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314893;
/* rgb */ color: rgb(49, 72, 147);
/* oklch */ color: oklch(42.6% 0.126 267.9);
Tailwind
colors: {
  custom: {
    50: '#747ab3',
    500: '#314893',
    950: '#000000',
  },
}
SCSS
$custom: #314893;
$custom-light: #747ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#314893",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 147
  },
  "hsl": {
    "h": 225.918,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.12645,
    "h": 267.9
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#314893
secondary
#B7A569
accent
#B94EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314893

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

Preview Lab → · Contrast checker → · Palette generator →

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