#314378#314378

#314378 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.093 H 267.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#314378
RGBrgb(49, 67, 120)
HSLhsl(225, 42%, 33%)
HSVhsv(225, 59%, 47%)
CMYKcmyk(59.2%, 44.2%, 0%, 52.9%)
CIE-LABlab(29.47, 10.17, -32.53)
CIE-LCHlch(29.47, 34.08, 287.36°)
OKLaboklab(39.56% -0.0034 -0.0925)
OKLCHoklch(39.56% 0.093 267.9)
XYZxyz(6.6628, 6.0228, 18.5771)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#314378 #786631
analogous
#316678 #314378 #423178
triadic
#314378 #783143 #437831
tetradic
#314378 #783166 #786631 #317842
square
#314378 #783166 #786631 #317842
split-complementary
#314378 #784231 #667831
monochromatic
#0E1221 #1F2B4D #314378 #435BA3 #647BC0

Accessibility & contrast

On white

9.53
#314378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#314378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #314378
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##314378#FFFFFF#000000##FFFFFF
##3143781.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#234277
Tritanopia (blue-blind)
#024F57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #314378;
/* rgb */ color: rgb(49, 67, 120);
/* oklch */ color: oklch(39.6% 0.093 267.9);
Tailwind
colors: {
  custom: {
    50: '#6f769f',
    500: '#314378',
    950: '#000000',
  },
}
SCSS
$custom: #314378;
$custom-light: #6f769f;
$custom-dark: #000000;
JSON
{
  "hex": "#314378",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 224.789,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.09255,
    "h": 267.9
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#314378
secondary
#A7945E
accent
#B256D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #314378

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

Preview Lab → · Contrast checker → · Palette generator →

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