#314585#314585

#314585 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.110 H 268.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#314585
RGBrgb(49, 69, 133)
HSLhsl(226, 46%, 36%)
HSVhsv(226, 63%, 52%)
CMYKcmyk(63.2%, 48.1%, 0%, 47.8%)
CIE-LABlab(30.88, 13.58, -38.38)
CIE-LCHlch(30.88, 40.71, 289.49°)
OKLaboklab(40.91% -0.0034 -0.1096)
OKLCHoklch(40.91% 0.11 268.2)
XYZxyz(7.6269, 6.6020, 23.0581)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314585 #857131
analogous
#316F85 #314585 #473185
triadic
#314585 #853145 #458531
tetradic
#314585 #85316F #857131 #318547
square
#314585 #85316F #857131 #318547
split-complementary
#314585 #854731 #6F8531
monochromatic
#10172C #212E58 #314585 #415CB2 #697FC8

Accessibility & contrast

On white

9.05
#314585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#314585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314585
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314585#FFFFFF#000000##FFFFFF
##3145851.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D87
Deuteranopia (green-blind)
#184584
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #314585;
/* rgb */ color: rgb(49, 69, 133);
/* oklch */ color: oklch(40.9% 0.110 268.2);
Tailwind
colors: {
  custom: {
    50: '#7278a9',
    500: '#314585',
    950: '#000000',
  },
}
SCSS
$custom: #314585;
$custom-light: #7278a9;
$custom-dark: #000000;
JSON
{
  "hex": "#314585",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 225.714,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.10968,
    "h": 268.2
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#314585
secondary
#AF9D63
accent
#B652D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314585

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

Preview Lab → · Contrast checker → · Palette generator →

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