#314299#314299

#314299 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.143 H 270.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#314299
RGBrgb(49, 66, 153)
HSLhsl(230, 51%, 40%)
HSVhsv(230, 68%, 60%)
CMYKcmyk(68%, 56.9%, 0%, 40%)
CIE-LABlab(31.46, 23.01, -49.72)
CIE-LCHlch(31.46, 54.79, 294.84°)
OKLaboklab(41.79% 0.0016 -0.143)
OKLCHoklch(41.79% 0.143 270.6)
XYZxyz(8.9627, 6.8485, 30.9804)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314299 #998831
analogous
#317699 #314299 #543199
triadic
#314299 #993142 #429931
tetradic
#314299 #993176 #998831 #319954
square
#314299 #993176 #998831 #319954
split-complementary
#314299 #995431 #769931
monochromatic
#131A3C #222E6B #314299 #4459C3 #7282D2

Accessibility & contrast

On white

8.86
#314299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#314299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314299
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314299#FFFFFF#000000##FFFFFF
##3142991.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314299;
/* rgb */ color: rgb(49, 66, 153);
/* oklch */ color: oklch(41.8% 0.143 270.6);
Tailwind
colors: {
  custom: {
    50: '#7676b8',
    500: '#314299',
    950: '#000000',
  },
}
SCSS
$custom: #314299;
$custom-light: #7676b8;
$custom-dark: #000000;
JSON
{
  "hex": "#314299",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 153
  },
  "hsl": {
    "h": 230.192,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.14304,
    "h": 270.6
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#314299
secondary
#BAAD6C
accent
#C44DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314299

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

Preview Lab → · Contrast checker → · Palette generator →

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