#313092#313092

#313092 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.156 H 276.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#313092
RGBrgb(49, 48, 146)
HSLhsl(241, 51%, 38%)
HSVhsv(241, 67%, 57%)
CMYKcmyk(66.4%, 67.1%, 0%, 42.7%)
CIE-LABlab(26.28, 32.32, -53.87)
CIE-LCHlch(26.28, 62.83, 300.96°)
OKLaboklab(37.79% 0.0172 -0.1554)
OKLCHoklch(37.79% 0.156 276.3)
XYZxyz(7.5102, 4.8416, 27.7273)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313092 #919230
analogous
#306092 #313092 #623092
triadic
#313092 #923130 #309231
tetradic
#313092 #923060 #919230 #309262
square
#313092 #923060 #919230 #309262
split-complementary
#313092 #926230 #609230
monochromatic
#121236 #222164 #313092 #413FC0 #6E6DCF

Accessibility & contrast

On white

10.67
#313092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#313092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313092
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313092#FFFFFF#000000##FFFFFF
##3130921.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #313092;
/* rgb */ color: rgb(49, 48, 146);
/* oklch */ color: oklch(37.8% 0.156 276.3);
Tailwind
colors: {
  custom: {
    50: '#7669b3',
    500: '#313092',
    950: '#000000',
  },
}
SCSS
$custom: #313092;
$custom-light: #7669b3;
$custom-dark: #000000;
JSON
{
  "hex": "#313092",
  "rgb": {
    "r": 49,
    "g": 48,
    "b": 146
  },
  "hsl": {
    "h": 240.612,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37786,
    "c": 0.15635,
    "h": 276.3
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#313092
secondary
#B6B767
accent
#DA4ED9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #313092

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

Preview Lab → · Contrast checker → · Palette generator →

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