#313669#313669

#313669 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.088 H 276.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#313669
RGBrgb(49, 54, 105)
HSLhsl(235, 36%, 30%)
HSVhsv(235, 53%, 41%)
CMYKcmyk(53.3%, 48.6%, 0%, 58.8%)
CIE-LABlab(24.67, 13.70, -30.63)
CIE-LCHlch(24.67, 33.56, 294.09°)
OKLaboklab(35.59% 0.0103 -0.087)
OKLCHoklch(35.59% 0.088 276.8)
XYZxyz(5.1348, 4.3109, 13.9234)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313669 #696431
analogous
#315269 #313669 #483169
triadic
#313669 #693136 #366931
tetradic
#313669 #693152 #696431 #316948
square
#313669 #693152 #696431 #316948
split-complementary
#313669 #694831 #526931
monochromatic
#0A0B16 #1E213F #313669 #444B93 #6067B5

Accessibility & contrast

On white

11.28
#313669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#313669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313669
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313669#FFFFFF#000000##FFFFFF
##3136691.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6B
Deuteranopia (green-blind)
#1B3868
Tritanopia (blue-blind)
#1A414A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313669;
/* rgb */ color: rgb(49, 54, 105);
/* oklch */ color: oklch(35.6% 0.088 276.8);
Tailwind
colors: {
  custom: {
    50: '#6d6c94',
    500: '#313669',
    950: '#000000',
  },
}
SCSS
$custom: #313669;
$custom-light: #6d6c94;
$custom-dark: #000000;
JSON
{
  "hex": "#313669",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 105
  },
  "hsl": {
    "h": 234.643,
    "s": 36.364,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35587,
    "c": 0.08766,
    "h": 276.8
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#313669
secondary
#9A955C
accent
#C25BCC
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #313669

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

Preview Lab → · Contrast checker → · Palette generator →

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