#1F369E#1F369E

#1F369E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.170 H 267.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1F369E
RGBrgb(31, 54, 158)
HSLhsl(229, 67%, 37%)
HSVhsv(229, 80%, 62%)
CMYKcmyk(80.4%, 65.8%, 0%, 38%)
CIE-LABlab(27.84, 30.65, -58.70)
CIE-LCHlch(27.84, 66.23, 297.57°)
OKLaboklab(38.99% -0.0072 -0.1699)
OKLCHoklch(38.99% 0.17 267.6)
XYZxyz(8.0536, 5.3973, 32.9585)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F369E #9E871F
analogous
#1F769E #1F369E #481F9E
triadic
#1F369E #9E1F36 #369E1F
tetradic
#1F369E #9E1F76 #9E871F #1F9E48
square
#1F369E #9E1F76 #9E871F #1F9E48
split-complementary
#1F369E #9E481F #769E1F
monochromatic
#0B1338 #15256B #1F369E #2947D1 #5971DE

Accessibility & contrast

On white

10.10
#1F369E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1F369E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F369E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F369E#FFFFFF#000000##FFFFFF
##1F369E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f369e;
/* rgb */ color: rgb(31, 54, 158);
/* oklch */ color: oklch(39.0% 0.170 267.6);
Tailwind
colors: {
  custom: {
    50: '#716dbc',
    500: '#1f369e',
    950: '#000000',
  },
}
SCSS
$custom: #1f369e;
$custom-light: #716dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f369e",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 158
  },
  "hsl": {
    "h": 229.134,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38992,
    "c": 0.17008,
    "h": 267.6
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F369E

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

Preview Lab → · Contrast checker → · Palette generator →

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