#1F2694#1F2694

#1F2694 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.175 H 270.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1F2694
RGBrgb(31, 38, 148)
HSLhsl(236, 65%, 35%)
HSVhsv(236, 79%, 58%)
CMYKcmyk(79.1%, 74.3%, 0%, 42%)
CIE-LABlab(23.05, 37.21, -60.46)
CIE-LCHlch(23.05, 70.99, 301.61°)
OKLaboklab(35.22% 0.0017 -0.1751)
OKLCHoklch(35.22% 0.175 270.6)
XYZxyz(6.6017, 3.8149, 28.3997)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2694 #948D1F
analogous
#1F6194 #1F2694 #521F94
triadic
#1F2694 #941F26 #26941F
tetradic
#1F2694 #941F61 #948D1F #1F9452
square
#1F2694 #941F61 #948D1F #1F9452
split-complementary
#1F2694 #94521F #61941F
monochromatic
#0A0C2F #141961 #1F2694 #2A33C7 #535BDB

Accessibility & contrast

On white

11.91
#1F2694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1F2694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2694
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2694#FFFFFF#000000##FFFFFF
##1F26941.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f2694;
/* rgb */ color: rgb(31, 38, 148);
/* oklch */ color: oklch(35.2% 0.175 270.6);
Tailwind
colors: {
  custom: {
    50: '#7061b5',
    500: '#1f2694',
    950: '#000000',
  },
}
SCSS
$custom: #1f2694;
$custom-light: #7061b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2694",
  "rgb": {
    "r": 31,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 236.41,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35218,
    "c": 0.17508,
    "h": 270.6
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#1F2694
secondary
#BEB851
accent
#DE3FE8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1F2694

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

Preview Lab → · Contrast checker → · Palette generator →

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