#314085#314085

#314085 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.8% C 0.117 H 271.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#314085
RGBrgb(49, 64, 133)
HSLhsl(229, 46%, 36%)
HSVhsv(229, 63%, 52%)
CMYKcmyk(63.2%, 51.9%, 0%, 47.8%)
CIE-LABlab(29.44, 16.97, -40.69)
CIE-LCHlch(29.44, 44.09, 292.64°)
OKLaboklab(39.81% 0.0021 -0.1165)
OKLCHoklch(39.81% 0.117 271)
XYZxyz(7.3322, 6.0126, 22.9599)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314085 #857631
analogous
#316A85 #314085 #4C3185
triadic
#314085 #853140 #408531
tetradic
#314085 #85316A #857631 #31854C
square
#314085 #85316A #857631 #31854C
split-complementary
#314085 #854C31 #6A8531
monochromatic
#10152C #212A58 #314085 #4156B2 #697AC8

Accessibility & contrast

On white

9.53
#314085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#314085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314085
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314085#FFFFFF#000000##FFFFFF
##3140851.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#064284
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314085;
/* rgb */ color: rgb(49, 64, 133);
/* oklch */ color: oklch(39.8% 0.117 271.0);
Tailwind
colors: {
  custom: {
    50: '#7274a9',
    500: '#314085',
    950: '#000000',
  },
}
SCSS
$custom: #314085;
$custom-light: #7274a9;
$custom-dark: #000000;
JSON
{
  "hex": "#314085",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 229.286,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39812,
    "c": 0.11652,
    "h": 271
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#314085
secondary
#AFA163
accent
#BE52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314085

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

Preview Lab → · Contrast checker → · Palette generator →

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