#314294#314294

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

Color values

HEX#314294
RGBrgb(49, 66, 148)
HSLhsl(230, 50%, 39%)
HSVhsv(230, 67%, 58%)
CMYKcmyk(66.9%, 55.4%, 0%, 42%)
CIE-LABlab(31.08, 21.16, -47.28)
CIE-LCHlch(31.08, 51.80, 294.11°)
OKLaboklab(41.39% 0.0013 -0.1359)
OKLCHoklch(41.39% 0.136 270.5)
XYZxyz(8.5583, 6.6867, 28.8509)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314294 #948331
analogous
#317394 #314294 #513194
triadic
#314294 #943142 #429431
tetradic
#314294 #943173 #948331 #319451
square
#314294 #943173 #948331 #319451
split-complementary
#314294 #945131 #739431
monochromatic
#131938 #222D66 #314294 #4258C0 #7080D0

Accessibility & contrast

On white

8.98
#314294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314294
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314294#FFFFFF#000000##FFFFFF
##3142941.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044E97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314294;
/* rgb */ color: rgb(49, 66, 148);
/* oklch */ color: oklch(41.4% 0.136 270.5);
Tailwind
colors: {
  custom: {
    50: '#7576b4',
    500: '#314294',
    950: '#000000',
  },
}
SCSS
$custom: #314294;
$custom-light: #7576b4;
$custom-dark: #000000;
JSON
{
  "hex": "#314294",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 229.697,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41392,
    "c": 0.13588,
    "h": 270.5
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314294

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

Preview Lab → · Contrast checker → · Palette generator →

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