#314094#314094

#314094 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.139 H 271.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#314094
RGBrgb(49, 64, 148)
HSLhsl(231, 50%, 39%)
HSVhsv(231, 67%, 58%)
CMYKcmyk(66.9%, 56.8%, 0%, 42%)
CIE-LABlab(30.54, 22.51, -48.16)
CIE-LCHlch(30.54, 53.16, 295.05°)
OKLaboklab(40.98% 0.0032 -0.1385)
OKLCHoklch(40.98% 0.139 271.3)
XYZxyz(8.4435, 6.4571, 28.8126)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314094 #948531
analogous
#317194 #314094 #533194
triadic
#314094 #943140 #409431
tetradic
#314094 #943171 #948531 #319453
square
#314094 #943171 #948531 #319453
split-complementary
#314094 #945331 #719431
monochromatic
#131838 #222C66 #314094 #4255C0 #707ED0

Accessibility & contrast

On white

9.16
#314094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#314094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314094
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314094#FFFFFF#000000##FFFFFF
##3140941.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314094;
/* rgb */ color: rgb(49, 64, 148);
/* oklch */ color: oklch(41.0% 0.139 271.3);
Tailwind
colors: {
  custom: {
    50: '#7574b4',
    500: '#314094',
    950: '#000000',
  },
}
SCSS
$custom: #314094;
$custom-light: #7574b4;
$custom-dark: #000000;
JSON
{
  "hex": "#314094",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 230.909,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.13853,
    "h": 271.3
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#314094
secondary
#B7AC69
accent
#C54EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314094

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

Preview Lab → · Contrast checker → · Palette generator →

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