#314883#314883

#314883 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.103 H 266.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#314883
RGBrgb(49, 72, 131)
HSLhsl(223, 46%, 35%)
HSVhsv(223, 63%, 51%)
CMYKcmyk(62.6%, 45%, 0%, 48.6%)
CIE-LABlab(31.64, 10.82, -35.93)
CIE-LCHlch(31.64, 37.53, 286.76°)
OKLaboklab(41.44% -0.0071 -0.1024)
OKLCHoklch(41.44% 0.103 266)
XYZxyz(7.6793, 6.9257, 22.4004)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314883 #836C31
analogous
#317183 #314883 #433183
triadic
#314883 #833148 #488331
tetradic
#314883 #833171 #836C31 #318343
square
#314883 #833171 #836C31 #318343
split-complementary
#314883 #834331 #718331
monochromatic
#10172A #203056 #314883 #4260B0 #6882C6

Accessibility & contrast

On white

8.80
#314883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#314883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314883
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314883#FFFFFF#000000##FFFFFF
##3148831.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#214782
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #314883;
/* rgb */ color: rgb(49, 72, 131);
/* oklch */ color: oklch(41.4% 0.103 266.0);
Tailwind
colors: {
  custom: {
    50: '#717aa7',
    500: '#314883',
    950: '#000000',
  },
}
SCSS
$custom: #314883;
$custom-light: #717aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#314883",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 223.171,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41442,
    "c": 0.10266,
    "h": 266
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#314883
secondary
#AE9962
accent
#B153D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #314883

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

Preview Lab → · Contrast checker → · Palette generator →

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