#314088#314088

#314088 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.121 H 271.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#314088
RGBrgb(49, 64, 136)
HSLhsl(230, 47%, 36%)
HSVhsv(230, 64%, 53%)
CMYKcmyk(64%, 52.9%, 0%, 46.7%)
CIE-LABlab(29.66, 18.07, -42.21)
CIE-LCHlch(29.66, 45.92, 293.18°)
OKLaboklab(40.04% 0.0024 -0.121)
OKLCHoklch(40.04% 0.121 271.1)
XYZxyz(7.5425, 6.0967, 24.0671)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314088 #887931
analogous
#316C88 #314088 #4E3188
triadic
#314088 #883140 #408831
tetradic
#314088 #88316C #887931 #31884E
square
#314088 #88316C #887931 #31884E
split-complementary
#314088 #884E31 #6C8831
monochromatic
#11162E #212B5B #314088 #4155B5 #6A7AC9

Accessibility & contrast

On white

9.46
#314088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#314088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314088
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314088#FFFFFF#000000##FFFFFF
##3140881.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8B
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314088;
/* rgb */ color: rgb(49, 64, 136);
/* oklch */ color: oklch(40.0% 0.121 271.1);
Tailwind
colors: {
  custom: {
    50: '#7274ab',
    500: '#314088',
    950: '#000000',
  },
}
SCSS
$custom: #314088;
$custom-light: #7274ab;
$custom-dark: #000000;
JSON
{
  "hex": "#314088",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 229.655,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40039,
    "c": 0.12099,
    "h": 271.1
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#314088
secondary
#B1A464
accent
#C051D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #314088

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

Preview Lab → · Contrast checker → · Palette generator →

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