#1F349C#1F349C

#1F349C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.170 H 268.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#1F349C
RGBrgb(31, 52, 156)
HSLhsl(230, 67%, 37%)
HSVhsv(230, 80%, 61%)
CMYKcmyk(80.1%, 66.7%, 0%, 38.8%)
CIE-LABlab(27.15, 31.22, -58.62)
CIE-LCHlch(27.15, 66.41, 298.04°)
OKLaboklab(38.43% -0.006 -0.1697)
OKLCHoklch(38.43% 0.17 268)
XYZxyz(7.7917, 5.1467, 32.0288)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F349C #9C871F
analogous
#1F739C #1F349C #491F9C
triadic
#1F349C #9C1F34 #349C1F
tetradic
#1F349C #9C1F73 #9C871F #1F9C49
square
#1F349C #9C1F73 #9C871F #1F9C49
split-complementary
#1F349C #9C491F #739C1F
monochromatic
#0B1236 #152369 #1F349C #2945CF #586EDE

Accessibility & contrast

On white

10.35
#1F349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1F349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F349C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F349C#FFFFFF#000000##FFFFFF
##1F349C1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f349c;
/* rgb */ color: rgb(31, 52, 156);
/* oklch */ color: oklch(38.4% 0.170 268.0);
Tailwind
colors: {
  custom: {
    50: '#716bba',
    500: '#1f349c',
    950: '#000000',
  },
}
SCSS
$custom: #1f349c;
$custom-light: #716bba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f349c",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 229.92,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.1698,
    "h": 268
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#1F349C
secondary
#C1AF55
accent
#CD3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1F349C

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

Preview Lab → · Contrast checker → · Palette generator →

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