#314485#314485

#314485 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.111 H 268.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#314485
RGBrgb(49, 68, 133)
HSLhsl(226, 46%, 36%)
HSVhsv(226, 63%, 52%)
CMYKcmyk(63.2%, 48.9%, 0%, 47.8%)
CIE-LABlab(30.59, 14.26, -38.84)
CIE-LCHlch(30.59, 41.38, 290.15°)
OKLaboklab(40.68% -0.0023 -0.111)
OKLCHoklch(40.68% 0.111 268.8)
XYZxyz(7.5660, 6.4800, 23.0378)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314485 #857231
analogous
#316E85 #314485 #483185
triadic
#314485 #853144 #448531
tetradic
#314485 #85316E #857231 #318548
square
#314485 #85316E #857231 #318548
split-complementary
#314485 #854831 #6E8531
monochromatic
#10162C #212D58 #314485 #415BB2 #697EC8

Accessibility & contrast

On white

9.15
#314485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#314485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314485
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314485#FFFFFF#000000##FFFFFF
##3144851.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#154484
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #314485;
/* rgb */ color: rgb(49, 68, 133);
/* oklch */ color: oklch(40.7% 0.111 268.8);
Tailwind
colors: {
  custom: {
    50: '#7277a9',
    500: '#314485',
    950: '#000000',
  },
}
SCSS
$custom: #314485;
$custom-light: #7277a9;
$custom-dark: #000000;
JSON
{
  "hex": "#314485",
  "rgb": {
    "r": 49,
    "g": 68,
    "b": 133
  },
  "hsl": {
    "h": 226.429,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.11104,
    "h": 268.8
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#314485
secondary
#AF9E63
accent
#B852D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314485

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

Preview Lab → · Contrast checker → · Palette generator →

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