#1F357D#1F357D

#1F357D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.125 H 267.0°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1F357D
RGBrgb(31, 53, 125)
HSLhsl(226, 60%, 31%)
HSVhsv(226, 75%, 49%)
CMYKcmyk(75.2%, 57.6%, 0%, 51%)
CIE-LABlab(24.69, 18.44, -43.41)
CIE-LCHlch(24.69, 47.16, 293.01°)
OKLaboklab(35.76% -0.0066 -0.1251)
OKLCHoklch(35.76% 0.125 267)
XYZxyz(5.5386, 4.3176, 19.9395)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F357D #7D671F
analogous
#1F647D #1F357D #381F7D
triadic
#1F357D #7D1F35 #357D1F
tetradic
#1F357D #7D1F64 #7D671F #1F7D38
square
#1F357D #7D1F64 #7D671F #1F7D38
split-complementary
#1F357D #7D381F #647D1F
monochromatic
#070B1B #13204C #1F357D #2B4AAE #4566D1

Accessibility & contrast

On white

11.27
#1F357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1F357D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F357D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F357D#FFFFFF#000000##FFFFFF
##1F357D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f357d;
/* rgb */ color: rgb(31, 53, 125);
/* oklch */ color: oklch(35.8% 0.125 267.0);
Tailwind
colors: {
  custom: {
    50: '#696ba3',
    500: '#1f357d',
    950: '#000000',
  },
}
SCSS
$custom: #1f357d;
$custom-light: #696ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f357d",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 225.957,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.12527,
    "h": 267
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

primary
#1F357D
secondary
#B09848
accent
#BE44E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1F357D

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

Preview Lab → · Contrast checker → · Palette generator →

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