#313264#313264

#313264 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.086 H 280.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#313264
RGBrgb(49, 50, 100)
HSLhsl(239, 34%, 29%)
HSVhsv(239, 51%, 39%)
CMYKcmyk(51%, 50%, 0%, 60.8%)
CIE-LABlab(23.18, 14.72, -29.78)
CIE-LCHlch(23.18, 33.22, 296.31°)
OKLaboklab(34.35% 0.0149 -0.0846)
OKLCHoklch(34.35% 0.086 280)
XYZxyz(4.7068, 3.8540, 12.5500)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313264 #646331
analogous
#314C64 #313264 #4A3164
triadic
#313264 #643132 #326431
tetradic
#313264 #64314C #646331 #31644A
square
#313264 #64314C #646331 #31644A
split-complementary
#313264 #644A31 #4C6431
monochromatic
#0A0A15 #1D1D3B #313264 #45478D #5F60B1

Accessibility & contrast

On white

11.86
#313264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#313264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313264
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313264#FFFFFF#000000##FFFFFF
##3132641.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3966
Deuteranopia (green-blind)
#193563
Tritanopia (blue-blind)
#1E3D46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313264;
/* rgb */ color: rgb(49, 50, 100);
/* oklch */ color: oklch(34.4% 0.086 280.0);
Tailwind
colors: {
  custom: {
    50: '#6d6990',
    500: '#313264',
    950: '#000000',
  },
}
SCSS
$custom: #313264;
$custom-light: #6d6990;
$custom-dark: #000000;
JSON
{
  "hex": "#313264",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 100
  },
  "hsl": {
    "h": 238.824,
    "s": 34.228,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.08588,
    "h": 280
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#313264
secondary
#95945C
accent
#C85DCA
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #313264

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

Preview Lab → · Contrast checker → · Palette generator →

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