#1F359C#1F359C

#1F359C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.169 H 267.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#1F359C
RGBrgb(31, 53, 156)
HSLhsl(229, 67%, 37%)
HSVhsv(229, 80%, 61%)
CMYKcmyk(80.1%, 66%, 0%, 38.8%)
CIE-LABlab(27.40, 30.56, -58.21)
CIE-LCHlch(27.40, 65.74, 297.70°)
OKLaboklab(38.61% -0.0065 -0.1685)
OKLCHoklch(38.61% 0.169 267.8)
XYZxyz(7.8368, 5.2369, 32.0438)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F359C #9C861F
analogous
#1F749C #1F359C #481F9C
triadic
#1F359C #9C1F35 #359C1F
tetradic
#1F359C #9C1F74 #9C861F #1F9C48
square
#1F359C #9C1F74 #9C861F #1F9C48
split-complementary
#1F359C #9C481F #749C1F
monochromatic
#0B1236 #152469 #1F359C #2946CF #586FDE

Accessibility & contrast

On white

10.26
#1F359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1F359C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F359C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F359C#FFFFFF#000000##FFFFFF
##1F359C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f359c;
/* rgb */ color: rgb(31, 53, 156);
/* oklch */ color: oklch(38.6% 0.169 267.8);
Tailwind
colors: {
  custom: {
    50: '#716cba',
    500: '#1f359c',
    950: '#000000',
  },
}
SCSS
$custom: #1f359c;
$custom-light: #716cba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f359c",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 229.44,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38612,
    "c": 0.16861,
    "h": 267.8
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F359C

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

Preview Lab → · Contrast checker → · Palette generator →

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