#314293#314293

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

Color values

HEX#314293
RGBrgb(49, 66, 147)
HSLhsl(230, 50%, 38%)
HSVhsv(230, 67%, 58%)
CMYKcmyk(66.7%, 55.1%, 0%, 42.4%)
CIE-LABlab(31.01, 20.79, -46.79)
CIE-LCHlch(31.01, 51.20, 293.96°)
OKLaboklab(41.31% 0.0012 -0.1344)
OKLCHoklch(41.31% 0.134 270.5)
XYZxyz(8.4795, 6.6552, 28.4358)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314293 #938231
analogous
#317393 #314293 #513193
triadic
#314293 #933142 #429331
tetradic
#314293 #933173 #938231 #319351
square
#314293 #933173 #938231 #319351
split-complementary
#314293 #935131 #739331
monochromatic
#121937 #222D65 #314293 #4157C0 #6F80CF

Accessibility & contrast

On white

9.01
#314293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#314293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314293
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314293#FFFFFF#000000##FFFFFF
##3142931.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E96
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314293;
/* rgb */ color: rgb(49, 66, 147);
/* oklch */ color: oklch(41.3% 0.134 270.5);
Tailwind
colors: {
  custom: {
    50: '#7576b3',
    500: '#314293',
    950: '#000000',
  },
}
SCSS
$custom: #314293;
$custom-light: #7576b3;
$custom-dark: #000000;
JSON
{
  "hex": "#314293",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 229.592,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41313,
    "c": 0.13443,
    "h": 270.5
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#314293
secondary
#B7A969
accent
#C14EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314293

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

Preview Lab → · Contrast checker → · Palette generator →

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