#314185#314185

#314185 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.0% C 0.115 H 270.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#314185
RGBrgb(49, 65, 133)
HSLhsl(229, 46%, 36%)
HSVhsv(229, 63%, 52%)
CMYKcmyk(63.2%, 51.1%, 0%, 47.8%)
CIE-LABlab(29.73, 16.29, -40.23)
CIE-LCHlch(29.73, 43.40, 292.04°)
OKLaboklab(40.03% 0.001 -0.1151)
OKLCHoklch(40.03% 0.115 270.5)
XYZxyz(7.3891, 6.1264, 22.9789)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314185 #857531
analogous
#316B85 #314185 #4B3185
triadic
#314185 #853141 #418531
tetradic
#314185 #85316B #857531 #31854B
square
#314185 #85316B #857531 #31854B
split-complementary
#314185 #854B31 #6B8531
monochromatic
#10152C #212B58 #314185 #4157B2 #697BC8

Accessibility & contrast

On white

9.44
#314185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#314185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314185
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314185#FFFFFF#000000##FFFFFF
##3141851.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A87
Deuteranopia (green-blind)
#0B4284
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314185;
/* rgb */ color: rgb(49, 65, 133);
/* oklch */ color: oklch(40.0% 0.115 270.5);
Tailwind
colors: {
  custom: {
    50: '#7275a9',
    500: '#314185',
    950: '#000000',
  },
}
SCSS
$custom: #314185;
$custom-light: #7275a9;
$custom-dark: #000000;
JSON
{
  "hex": "#314185",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 228.571,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40028,
    "c": 0.11514,
    "h": 270.5
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#314185
secondary
#AFA163
accent
#BD52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #314185

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

Preview Lab → · Contrast checker → · Palette generator →

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