#313265#313265

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

Color values

HEX#313265
RGBrgb(49, 50, 101)
HSLhsl(239, 35%, 29%)
HSVhsv(239, 51%, 40%)
CMYKcmyk(51.5%, 50.5%, 0%, 60.4%)
CIE-LABlab(23.25, 15.07, -30.32)
CIE-LCHlch(23.25, 33.86, 296.42°)
OKLaboklab(34.42% 0.0151 -0.0862)
OKLCHoklch(34.42% 0.087 279.9)
XYZxyz(4.7555, 3.8735, 12.8065)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313265 #656431
analogous
#314C65 #313265 #4A3165
triadic
#313265 #653132 #326531
tetradic
#313265 #65314C #656431 #31654A
square
#313265 #65314C #656431 #31654A
split-complementary
#313265 #654A31 #4C6531
monochromatic
#0A0A15 #1D1E3C #313265 #45468E #5F61B1

Accessibility & contrast

On white

11.83
#313265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313265
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313265#FFFFFF#000000##FFFFFF
##3132651.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313265;
/* rgb */ color: rgb(49, 50, 101);
/* oklch */ color: oklch(34.4% 0.087 279.9);
Tailwind
colors: {
  custom: {
    50: '#6d6991',
    500: '#313265',
    950: '#000000',
  },
}
SCSS
$custom: #313265;
$custom-light: #6d6991;
$custom-dark: #000000;
JSON
{
  "hex": "#313265",
  "rgb": {
    "r": 49,
    "g": 50,
    "b": 101
  },
  "hsl": {
    "h": 238.846,
    "s": 34.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34423,
    "c": 0.08747,
    "h": 279.9
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#313265
secondary
#96955C
accent
#C95DCB
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#07060D
muted
#7A7A7D

Preview Lab

Preview with #313265

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

Preview Lab → · Contrast checker → · Palette generator →

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