#1F359B#1F359B

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

Color values

HEX#1F359B
RGBrgb(31, 53, 155)
HSLhsl(229, 67%, 36%)
HSVhsv(229, 80%, 61%)
CMYKcmyk(80%, 65.8%, 0%, 39.2%)
CIE-LABlab(27.31, 30.18, -57.75)
CIE-LCHlch(27.31, 65.16, 297.59°)
OKLaboklab(38.52% -0.0065 -0.1671)
OKLCHoklch(38.52% 0.167 267.8)
XYZxyz(7.7525, 5.2032, 31.5997)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F359B #9B851F
analogous
#1F739B #1F359B #471F9B
triadic
#1F359B #9B1F35 #359B1F
tetradic
#1F359B #9B1F73 #9B851F #1F9B47
square
#1F359B #9B1F73 #9B851F #1F9B47
split-complementary
#1F359B #9B471F #739B1F
monochromatic
#0B1235 #152468 #1F359B #2946CE #576FDD

Accessibility & contrast

On white

10.29
#1F359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1F359B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F359B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F359B#FFFFFF#000000##FFFFFF
##1F359B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f359b;
/* rgb */ color: rgb(31, 53, 155);
/* oklch */ color: oklch(38.5% 0.167 267.8);
Tailwind
colors: {
  custom: {
    50: '#716cb9',
    500: '#1f359b',
    950: '#000000',
  },
}
SCSS
$custom: #1f359b;
$custom-light: #716cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f359b",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 229.355,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38515,
    "c": 0.16728,
    "h": 267.8
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F359B

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

Preview Lab → · Contrast checker → · Palette generator →

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