#314098#314098

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

Color values

HEX#314098
RGBrgb(49, 64, 152)
HSLhsl(231, 51%, 39%)
HSVhsv(231, 68%, 60%)
CMYKcmyk(67.8%, 57.9%, 0%, 40.4%)
CIE-LABlab(30.85, 23.98, -50.11)
CIE-LCHlch(30.85, 55.55, 295.58°)
OKLaboklab(41.31% 0.0033 -0.1442)
OKLCHoklch(41.31% 0.144 271.3)
XYZxyz(8.7656, 6.5860, 30.5089)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314098 #988931
analogous
#317498 #314098 #563198
triadic
#314098 #983140 #409831
tetradic
#314098 #983174 #988931 #319856
square
#314098 #983174 #988931 #319856
split-complementary
#314098 #985631 #749831
monochromatic
#13193B #222D6A #314098 #4456C3 #7280D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##314098#FFFFFF#000000##FFFFFF
##3140981.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)
#004D9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314098;
/* rgb */ color: rgb(49, 64, 152);
/* oklch */ color: oklch(41.3% 0.144 271.3);
Tailwind
colors: {
  custom: {
    50: '#7674b7',
    500: '#314098',
    950: '#000000',
  },
}
SCSS
$custom: #314098;
$custom-light: #7674b7;
$custom-dark: #000000;
JSON
{
  "hex": "#314098",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 231.262,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.14424,
    "h": 271.3
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #314098

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

Preview Lab → · Contrast checker → · Palette generator →

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