#1F206F#1F206F

#1F206F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.133 H 274.5°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1F206F
RGBrgb(31, 32, 111)
HSLhsl(239, 56%, 28%)
HSVhsv(239, 72%, 44%)
CMYKcmyk(72.1%, 71.2%, 0%, 56.5%)
CIE-LABlab(17.79, 27.54, -45.73)
CIE-LCHlch(17.79, 53.38, 301.06°)
OKLaboklab(30.27% 0.0105 -0.1321)
OKLCHoklch(30.27% 0.133 274.5)
XYZxyz(3.9499, 2.4717, 15.3048)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F206F #6F6E1F
analogous
#1F486F #1F206F #461F6F
triadic
#1F206F #6F1F20 #206F1F
tetradic
#1F206F #6F1F48 #6F6E1F #1F6F46
square
#1F206F #6F1F48 #6F6E1F #1F6F46
split-complementary
#1F206F #6F461F #486F1F
monochromatic
#070718 #12123F #1F206F #2C2E9F #3F41C9

Accessibility & contrast

On white

14.05
#1F206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1F206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F206F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F206F#FFFFFF#000000##FFFFFF
##1F206F1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1f206f;
/* rgb */ color: rgb(31, 32, 111);
/* oklch */ color: oklch(30.3% 0.133 274.5);
Tailwind
colors: {
  custom: {
    50: '#675c99',
    500: '#1f206f',
    950: '#000000',
  },
}
SCSS
$custom: #1f206f;
$custom-light: #675c99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f206f",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 239.25,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30273,
    "c": 0.13252,
    "h": 274.5
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#1F206F
secondary
#A3A247
accent
#DE48E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1F206F

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

Preview Lab → · Contrast checker → · Palette generator →

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