#315293#315293

#315293 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.114 H 262.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#315293
RGBrgb(49, 82, 147)
HSLhsl(220, 50%, 38%)
HSVhsv(220, 67%, 58%)
CMYKcmyk(66.7%, 44.2%, 0%, 42.4%)
CIE-LABlab(35.58, 10.09, -39.44)
CIE-LCHlch(35.58, 40.71, 284.36°)
OKLaboklab(44.8% -0.0149 -0.1125)
OKLCHoklch(44.8% 0.114 262.5)
XYZxyz(9.5485, 8.7932, 28.7922)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315293 #937231
analogous
#318393 #315293 #413193
triadic
#315293 #933152 #529331
tetradic
#315293 #933183 #937231 #319341
square
#315293 #933183 #937231 #319341
split-complementary
#315293 #934131 #839331
monochromatic
#121F37 #223865 #315293 #416CC0 #6F90CF

Accessibility & contrast

On white

7.61
#315293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#315293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315293
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315293#FFFFFF#000000##FFFFFF
##3152931.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335996
Deuteranopia (green-blind)
#244F92
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #315293;
/* rgb */ color: rgb(49, 82, 147);
/* oklch */ color: oklch(44.8% 0.114 262.5);
Tailwind
colors: {
  custom: {
    50: '#7482b3',
    500: '#315293',
    950: '#000000',
  },
}
SCSS
$custom: #315293;
$custom-light: #7482b3;
$custom-dark: #000000;
JSON
{
  "hex": "#315293",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 219.796,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44798,
    "c": 0.11353,
    "h": 262.5
  },
  "luminance": 0.08794
}

Semantic roles & 50–950 ramp

primary
#315293
secondary
#B79D69
accent
#AB4EDA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #315293

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

Preview Lab → · Contrast checker → · Palette generator →

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