#1F359E#1F359E

#1F359E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.171 H 267.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#1F359E
RGBrgb(31, 53, 158)
HSLhsl(230, 67%, 37%)
HSVhsv(230, 80%, 62%)
CMYKcmyk(80.4%, 66.5%, 0%, 38%)
CIE-LABlab(27.59, 31.32, -59.12)
CIE-LCHlch(27.59, 66.90, 297.91°)
OKLaboklab(38.81% -0.0066 -0.1711)
OKLCHoklch(38.81% 0.171 267.8)
XYZxyz(8.0076, 5.3052, 32.9431)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F359E #9E881F
analogous
#1F759E #1F359E #481F9E
triadic
#1F359E #9E1F35 #359E1F
tetradic
#1F359E #9E1F75 #9E881F #1F9E48
square
#1F359E #9E1F75 #9E881F #1F9E48
split-complementary
#1F359E #9E481F #759E1F
monochromatic
#0B1338 #15246B #1F359E #2946D1 #5970DE

Accessibility & contrast

On white

10.19
#1F359E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1F359E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F359E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F359E#FFFFFF#000000##FFFFFF
##1F359E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f359e;
/* rgb */ color: rgb(31, 53, 158);
/* oklch */ color: oklch(38.8% 0.171 267.8);
Tailwind
colors: {
  custom: {
    50: '#716cbc',
    500: '#1f359e',
    950: '#000000',
  },
}
SCSS
$custom: #1f359e;
$custom-light: #716cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f359e",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 158
  },
  "hsl": {
    "h": 229.606,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38808,
    "c": 0.17127,
    "h": 267.8
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#1F359E
secondary
#C2B056
accent
#CC3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1F359E

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

Preview Lab → · Contrast checker → · Palette generator →

#1F359E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva