#314099#314099

#314099 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.146 H 271.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#314099
RGBrgb(49, 64, 153)
HSLhsl(231, 51%, 40%)
HSVhsv(231, 68%, 60%)
CMYKcmyk(68%, 58.2%, 0%, 40%)
CIE-LABlab(30.92, 24.35, -50.59)
CIE-LCHlch(30.92, 56.14, 295.70°)
OKLaboklab(41.39% 0.0033 -0.1456)
OKLCHoklch(41.39% 0.146 271.3)
XYZxyz(8.8478, 6.6188, 30.9421)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314099 #998A31
analogous
#317499 #314099 #563199
triadic
#314099 #993140 #409931
tetradic
#314099 #993174 #998A31 #319956
square
#314099 #993174 #998A31 #319956
split-complementary
#314099 #995631 #749931
monochromatic
#13193C #222D6B #314099 #4456C3 #7280D2

Accessibility & contrast

On white

9.04
#314099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #314099
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314099#FFFFFF#000000##FFFFFF
##3140991.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314099;
/* rgb */ color: rgb(49, 64, 153);
/* oklch */ color: oklch(41.4% 0.146 271.3);
Tailwind
colors: {
  custom: {
    50: '#7674b8',
    500: '#314099',
    950: '#000000',
  },
}
SCSS
$custom: #314099;
$custom-light: #7674b8;
$custom-dark: #000000;
JSON
{
  "hex": "#314099",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 231.346,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41393,
    "c": 0.14566,
    "h": 271.3
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#314099
secondary
#BAAF6C
accent
#C64DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314099

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

Preview Lab → · Contrast checker → · Palette generator →

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