#314698#314698

#314698 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.136 H 269.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#314698
RGBrgb(49, 70, 152)
HSLhsl(228, 51%, 39%)
HSVhsv(228, 68%, 60%)
CMYKcmyk(67.8%, 53.9%, 0%, 40.4%)
CIE-LABlab(32.48, 19.96, -47.46)
CIE-LCHlch(32.48, 51.49, 292.81°)
OKLaboklab(42.54% -0.0022 -0.1363)
OKLCHoklch(42.54% 0.136 269.1)
XYZxyz(9.1223, 7.2994, 30.6279)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314698 #988331
analogous
#317A98 #314698 #503198
triadic
#314698 #983146 #469831
tetradic
#314698 #98317A #988331 #319850
square
#314698 #98317A #988331 #319850
split-complementary
#314698 #985031 #7A9831
monochromatic
#131B3B #22316A #314698 #445DC3 #7285D2

Accessibility & contrast

On white

8.54
#314698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#314698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314698
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314698#FFFFFF#000000##FFFFFF
##3146981.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #314698;
/* rgb */ color: rgb(49, 70, 152);
/* oklch */ color: oklch(42.5% 0.136 269.1);
Tailwind
colors: {
  custom: {
    50: '#7579b7',
    500: '#314698',
    950: '#000000',
  },
}
SCSS
$custom: #314698;
$custom-light: #7579b7;
$custom-dark: #000000;
JSON
{
  "hex": "#314698",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 227.767,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42537,
    "c": 0.13635,
    "h": 269.1
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#314698
secondary
#B9A96B
accent
#BE4DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314698

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

Preview Lab → · Contrast checker → · Palette generator →

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