#313263#313263

#313263 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.084 H 280.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#313263
RGBrgb(49, 50, 99)
HSLhsl(239, 34%, 29%)
HSVhsv(239, 51%, 39%)
CMYKcmyk(50.5%, 49.5%, 0%, 61.2%)
CIE-LABlab(23.12, 14.37, -29.23)
CIE-LCHlch(23.12, 32.57, 296.19°)
OKLaboklab(34.28% 0.0148 -0.083)
OKLCHoklch(34.28% 0.084 280.1)
XYZxyz(4.6587, 3.8348, 12.2967)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313263 #636231
analogous
#314B63 #313263 #493163
triadic
#313263 #633132 #326331
tetradic
#313263 #63314B #636231 #316349
square
#313263 #63314B #636231 #316349
split-complementary
#313263 #634931 #4B6331
monochromatic
#0A0A14 #1D1D3A #313263 #45478C #5F60B0

Accessibility & contrast

On white

11.88
#313263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313263
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313263#FFFFFF#000000##FFFFFF
##3132631.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3965
Deuteranopia (green-blind)
#1A3562
Tritanopia (blue-blind)
#1F3C45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313263;
/* rgb */ color: rgb(49, 50, 99);
/* oklch */ color: oklch(34.3% 0.084 280.1);
Tailwind
colors: {
  custom: {
    50: '#6d6990',
    500: '#313263',
    950: '#000000',
  },
}
SCSS
$custom: #313263;
$custom-light: #6d6990;
$custom-dark: #000000;
JSON
{
  "hex": "#313263",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 99
  },
  "hsl": {
    "h": 238.8,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34281,
    "c": 0.08427,
    "h": 280.1
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#313263
secondary
#94935C
accent
#C85ECA
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #313263

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

Preview Lab → · Contrast checker → · Palette generator →

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