#314291#314291

#314291 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.132 H 270.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#314291
RGBrgb(49, 66, 145)
HSLhsl(229, 49%, 38%)
HSVhsv(229, 66%, 57%)
CMYKcmyk(66.2%, 54.5%, 0%, 43.1%)
CIE-LABlab(30.86, 20.05, -45.80)
CIE-LCHlch(30.86, 50.00, 293.64°)
OKLaboklab(41.16% 0.0011 -0.1315)
OKLCHoklch(41.16% 0.132 270.5)
XYZxyz(8.3239, 6.5930, 27.6165)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314291 #918031
analogous
#317291 #314291 #503191
triadic
#314291 #913142 #429131
tetradic
#314291 #913172 #918031 #319150
square
#314291 #913172 #918031 #319150
split-complementary
#314291 #915031 #729131
monochromatic
#121836 #222D63 #314291 #4157BF #6E7FCE

Accessibility & contrast

On white

9.06
#314291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#314291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314291
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314291#FFFFFF#000000##FFFFFF
##3142911.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314291;
/* rgb */ color: rgb(49, 66, 145);
/* oklch */ color: oklch(41.2% 0.132 270.5);
Tailwind
colors: {
  custom: {
    50: '#7476b2',
    500: '#314291',
    950: '#000000',
  },
}
SCSS
$custom: #314291;
$custom-light: #7476b2;
$custom-dark: #000000;
JSON
{
  "hex": "#314291",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 229.375,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.13152,
    "h": 270.5
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#314291
secondary
#B6A868
accent
#C14FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314291

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

Preview Lab → · Contrast checker → · Palette generator →

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