#314092#314092

#314092 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.136 H 271.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#314092
RGBrgb(49, 64, 146)
HSLhsl(231, 50%, 38%)
HSVhsv(231, 66%, 57%)
CMYKcmyk(66.4%, 56.2%, 0%, 42.7%)
CIE-LABlab(30.39, 21.77, -47.19)
CIE-LCHlch(30.39, 51.96, 294.77°)
OKLaboklab(40.82% 0.0031 -0.1356)
OKLCHoklch(40.82% 0.136 271.3)
XYZxyz(8.2866, 6.3943, 27.9861)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314092 #928331
analogous
#317092 #314092 #523192
triadic
#314092 #923140 #409231
tetradic
#314092 #923170 #928331 #319252
square
#314092 #923170 #928331 #319252
split-complementary
#314092 #925231 #709231
monochromatic
#121836 #222C64 #314092 #4154BF #6F7ECF

Accessibility & contrast

On white

9.21
#314092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#314092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314092
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314092#FFFFFF#000000##FFFFFF
##3140921.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314092;
/* rgb */ color: rgb(49, 64, 146);
/* oklch */ color: oklch(40.8% 0.136 271.3);
Tailwind
colors: {
  custom: {
    50: '#7474b3',
    500: '#314092',
    950: '#000000',
  },
}
SCSS
$custom: #314092;
$custom-light: #7474b3;
$custom-dark: #000000;
JSON
{
  "hex": "#314092",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 230.722,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40822,
    "c": 0.13564,
    "h": 271.3
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#314092
secondary
#B6AA69
accent
#C44FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #314092

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

Preview Lab → · Contrast checker → · Palette generator →

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