#1F369B#1F369B

#1F369B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.166 H 267.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#1F369B
RGBrgb(31, 54, 155)
HSLhsl(229, 67%, 36%)
HSVhsv(229, 80%, 61%)
CMYKcmyk(80%, 65.2%, 0%, 39.2%)
CIE-LABlab(27.56, 29.51, -57.33)
CIE-LCHlch(27.56, 64.48, 297.23°)
OKLaboklab(38.7% -0.0071 -0.1659)
OKLCHoklch(38.7% 0.166 267.6)
XYZxyz(7.7986, 5.2953, 31.6151)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F369B #9B841F
analogous
#1F749B #1F369B #461F9B
triadic
#1F369B #9B1F36 #369B1F
tetradic
#1F369B #9B1F74 #9B841F #1F9B46
square
#1F369B #9B1F74 #9B841F #1F9B46
split-complementary
#1F369B #9B461F #749B1F
monochromatic
#0B1235 #152468 #1F369B #2948CE #5770DD

Accessibility & contrast

On white

10.20
#1F369B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F369B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F369B#FFFFFF#000000##FFFFFF
##1F369B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f369b;
/* rgb */ color: rgb(31, 54, 155);
/* oklch */ color: oklch(38.7% 0.166 267.6);
Tailwind
colors: {
  custom: {
    50: '#706db9',
    500: '#1f369b',
    950: '#000000',
  },
}
SCSS
$custom: #1f369b;
$custom-light: #706db9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f369b",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 155
  },
  "hsl": {
    "h": 228.871,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38702,
    "c": 0.16607,
    "h": 267.6
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#1F369B
secondary
#C1AD55
accent
#CA3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1F369B

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

Preview Lab → · Contrast checker → · Palette generator →

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