#314289#314289

#314289 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.120 H 270.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#314289
RGBrgb(49, 66, 137)
HSLhsl(228, 47%, 36%)
HSVhsv(228, 64%, 54%)
CMYKcmyk(64.2%, 51.8%, 0%, 46.3%)
CIE-LABlab(30.29, 17.09, -41.80)
CIE-LCHlch(30.29, 45.16, 292.23°)
OKLaboklab(40.54% 0.0004 -0.1197)
OKLCHoklch(40.54% 0.12 270.2)
XYZxyz(7.7287, 6.3549, 24.4814)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314289 #897831
analogous
#316E89 #314289 #4C3189
triadic
#314289 #893142 #428931
tetradic
#314289 #89316E #897831 #31894C
square
#314289 #89316E #897831 #31894C
split-complementary
#314289 #894C31 #6E8931
monochromatic
#11172F #212C5C #314289 #4158B6 #6B7DCA

Accessibility & contrast

On white

9.25
#314289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#314289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314289
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314289#FFFFFF#000000##FFFFFF
##3142891.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8C
Deuteranopia (green-blind)
#044488
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #314289;
/* rgb */ color: rgb(49, 66, 137);
/* oklch */ color: oklch(40.5% 0.120 270.2);
Tailwind
colors: {
  custom: {
    50: '#7376ac',
    500: '#314289',
    950: '#000000',
  },
}
SCSS
$custom: #314289;
$custom-light: #7376ac;
$custom-dark: #000000;
JSON
{
  "hex": "#314289",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 228.409,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.11975,
    "h": 270.2
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#314289
secondary
#B1A264
accent
#BD51D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #314289

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

Preview Lab → · Contrast checker → · Palette generator →

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