#1F357F#1F357F

#1F357F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.128 H 267.1°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#1F357F
RGBrgb(31, 53, 127)
HSLhsl(226, 61%, 31%)
HSVhsv(226, 76%, 50%)
CMYKcmyk(75.6%, 58.3%, 0%, 50.2%)
CIE-LABlab(24.86, 19.23, -44.41)
CIE-LCHlch(24.86, 48.40, 293.42°)
OKLaboklab(35.94% -0.0065 -0.128)
OKLCHoklch(35.94% 0.128 267.1)
XYZxyz(5.6676, 4.3692, 20.6192)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F357F #7F691F
analogous
#1F657F #1F357F #391F7F
triadic
#1F357F #7F1F35 #357F1F
tetradic
#1F357F #7F1F65 #7F691F #1F7F39
square
#1F357F #7F1F65 #7F691F #1F7F39
split-complementary
#1F357F #7F391F #657F1F
monochromatic
#070C1D #13204E #1F357F #2B4AB0 #4666D2

Accessibility & contrast

On white

11.21
#1F357F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F357F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F357F#FFFFFF#000000##FFFFFF
##1F357F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f357f;
/* rgb */ color: rgb(31, 53, 127);
/* oklch */ color: oklch(35.9% 0.128 267.1);
Tailwind
colors: {
  custom: {
    50: '#696ba5',
    500: '#1f357f',
    950: '#000000',
  },
}
SCSS
$custom: #1f357f;
$custom-light: #696ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f357f",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 127
  },
  "hsl": {
    "h": 226.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35937,
    "c": 0.12819,
    "h": 267.1
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F357F

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

Preview Lab → · Contrast checker → · Palette generator →

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