#314894#314894

#314894 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.128 H 268.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#314894
RGBrgb(49, 72, 148)
HSLhsl(226, 50%, 39%)
HSVhsv(226, 67%, 58%)
CMYKcmyk(66.9%, 51.4%, 0%, 42%)
CIE-LABlab(32.76, 17.13, -44.58)
CIE-LCHlch(32.76, 47.76, 291.02°)
OKLaboklab(42.66% -0.0045 -0.1278)
OKLCHoklch(42.66% 0.128 268)
XYZxyz(8.9275, 7.4250, 28.9739)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314894 #947D31
analogous
#317994 #314894 #4B3194
triadic
#314894 #943148 #489431
tetradic
#314894 #943179 #947D31 #31944B
square
#314894 #943179 #947D31 #31944B
split-complementary
#314894 #944B31 #799431
monochromatic
#131B38 #223266 #314894 #425FC0 #7086D0

Accessibility & contrast

On white

8.45
#314894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#314894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314894
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314894#FFFFFF#000000##FFFFFF
##3148941.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5297
Deuteranopia (green-blind)
#004992
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #314894;
/* rgb */ color: rgb(49, 72, 148);
/* oklch */ color: oklch(42.7% 0.128 268.0);
Tailwind
colors: {
  custom: {
    50: '#747ab4',
    500: '#314894',
    950: '#000000',
  },
}
SCSS
$custom: #314894;
$custom-light: #747ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#314894",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 226.061,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.12791,
    "h": 268
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#314894
secondary
#B7A569
accent
#B94EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #314894

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

Preview Lab → · Contrast checker → · Palette generator →

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