#1F357C#1F357C

#1F357C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.124 H 266.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#1F357C
RGBrgb(31, 53, 124)
HSLhsl(226, 60%, 30%)
HSVhsv(226, 75%, 49%)
CMYKcmyk(75%, 57.3%, 0%, 51.4%)
CIE-LABlab(24.61, 18.04, -42.91)
CIE-LCHlch(24.61, 46.55, 292.80°)
OKLaboklab(35.68% -0.0067 -0.1236)
OKLCHoklch(35.68% 0.124 266.9)
XYZxyz(5.4750, 4.2922, 19.6048)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F357C #7C661F
analogous
#1F647C #1F357C #371F7C
triadic
#1F357C #7C1F35 #357C1F
tetradic
#1F357C #7C1F64 #7C661F #1F7C37
square
#1F357C #7C1F64 #7C661F #1F7C37
split-complementary
#1F357C #7C371F #647C1F
monochromatic
#070B1A #13204B #1F357C #2B4AAD #4566D0

Accessibility & contrast

On white

11.30
#1F357C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F357C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F357C#FFFFFF#000000##FFFFFF
##1F357C1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f357c;
/* rgb */ color: rgb(31, 53, 124);
/* oklch */ color: oklch(35.7% 0.124 266.9);
Tailwind
colors: {
  custom: {
    50: '#696ba2',
    500: '#1f357c',
    950: '#000000',
  },
}
SCSS
$custom: #1f357c;
$custom-light: #696ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f357c",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 124
  },
  "hsl": {
    "h": 225.806,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35679,
    "c": 0.12379,
    "h": 266.9
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#1F357C
secondary
#AF9748
accent
#BE45E3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1F357C

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

Preview Lab → · Contrast checker → · Palette generator →

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