#314283#314283

#314283 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.111 H 269.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#314283
RGBrgb(49, 66, 131)
HSLhsl(228, 46%, 35%)
HSVhsv(228, 63%, 51%)
CMYKcmyk(62.6%, 49.6%, 0%, 48.6%)
CIE-LABlab(29.88, 14.87, -38.75)
CIE-LCHlch(29.88, 41.50, 291.00°)
OKLaboklab(40.1% -0.0004 -0.1107)
OKLCHoklch(40.1% 0.111 269.8)
XYZxyz(7.3102, 6.1875, 22.2774)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314283 #837231
analogous
#316B83 #314283 #493183
triadic
#314283 #833142 #428331
tetradic
#314283 #83316B #837231 #318349
square
#314283 #83316B #837231 #318349
split-complementary
#314283 #834931 #6B8331
monochromatic
#10152A #202C56 #314283 #4258B0 #687CC6

Accessibility & contrast

On white

9.39
#314283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#314283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314283
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314283#FFFFFF#000000##FFFFFF
##3142831.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#134382
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #314283;
/* rgb */ color: rgb(49, 66, 131);
/* oklch */ color: oklch(40.1% 0.111 269.8);
Tailwind
colors: {
  custom: {
    50: '#7176a7',
    500: '#314283',
    950: '#000000',
  },
}
SCSS
$custom: #314283;
$custom-light: #7176a7;
$custom-dark: #000000;
JSON
{
  "hex": "#314283",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 227.561,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40099,
    "c": 0.11075,
    "h": 269.8
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#314283
secondary
#AE9E62
accent
#BA53D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #314283

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

Preview Lab → · Contrast checker → · Palette generator →

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