#1F357E#1F357E

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

Color values

HEX#1F357E
RGBrgb(31, 53, 126)
HSLhsl(226, 61%, 31%)
HSVhsv(226, 75%, 49%)
CMYKcmyk(75.4%, 57.9%, 0%, 50.6%)
CIE-LABlab(24.78, 18.84, -43.91)
CIE-LCHlch(24.78, 47.78, 293.22°)
OKLaboklab(35.85% -0.0066 -0.1265)
OKLCHoklch(35.85% 0.127 267)
XYZxyz(5.6028, 4.3433, 20.2777)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F357E #7E681F
analogous
#1F647E #1F357E #381F7E
triadic
#1F357E #7E1F35 #357E1F
tetradic
#1F357E #7E1F64 #7E681F #1F7E38
square
#1F357E #7E1F64 #7E681F #1F7E38
split-complementary
#1F357E #7E381F #647E1F
monochromatic
#070C1C #13204D #1F357E #2B4AAF #4666D1

Accessibility & contrast

On white

11.24
#1F357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1F357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F357E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F357E#FFFFFF#000000##FFFFFF
##1F357E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f357e;
/* rgb */ color: rgb(31, 53, 126);
/* oklch */ color: oklch(35.9% 0.127 267.0);
Tailwind
colors: {
  custom: {
    50: '#696ba4',
    500: '#1f357e',
    950: '#000000',
  },
}
SCSS
$custom: #1f357e;
$custom-light: #696ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f357e",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 226.105,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3585,
    "c": 0.12672,
    "h": 267
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#1F357E
secondary
#B19948
accent
#BF44E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1F357E

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

Preview Lab → · Contrast checker → · Palette generator →

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