#314FCA#314FCA

#314FCA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.194 H 267.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#314FCA
RGBrgb(49, 79, 202)
HSLhsl(228, 61%, 49%)
HSVhsv(228, 76%, 79%)
CMYKcmyk(75.7%, 60.9%, 0%, 20.8%)
CIE-LABlab(38.74, 32.57, -66.92)
CIE-LCHlch(38.74, 74.43, 295.95°)
OKLaboklab(48.44% -0.0076 -0.1934)
OKLCHoklch(48.44% 0.194 267.8)
XYZxyz(14.7196, 10.5076, 57.1181)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314FCA #CAAC31
analogous
#319CCA #314FCA #5F31CA
triadic
#314FCA #CA314F #4FCA31
tetradic
#314FCA #CA319C #CAAC31 #31CA5F
square
#314FCA #CA319C #CAAC31 #31CA5F
split-complementary
#314FCA #CA5F31 #9CCA31
monochromatic
#192867 #253C99 #314FCA #6077D8 #91A1E4

Accessibility & contrast

On white

6.77
#314FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#314FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #314FCA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314FCA#FFFFFF#000000##FFFFFF
##314FCA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #314fca;
/* rgb */ color: rgb(49, 79, 202);
/* oklch */ color: oklch(48.4% 0.194 267.8);
Tailwind
colors: {
  custom: {
    50: '#8080db',
    500: '#314fca',
    950: '#000000',
  },
}
SCSS
$custom: #314fca;
$custom-light: #8080db;
$custom-dark: #000000;
JSON
{
  "hex": "#314fca",
  "rgb": {
    "r": 49,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 228.235,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48439,
    "c": 0.19356,
    "h": 267.8
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#314FCA
secondary
#CFC188
accent
#C544E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #314FCA

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

Preview Lab → · Contrast checker → · Palette generator →

#314FCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva