#1F2693#1F2693

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

Color values

HEX#1F2693
RGBrgb(31, 38, 147)
HSLhsl(236, 65%, 35%)
HSVhsv(236, 79%, 58%)
CMYKcmyk(78.9%, 74.1%, 0%, 42.4%)
CIE-LABlab(22.94, 36.86, -60.02)
CIE-LCHlch(22.94, 70.43, 301.55°)
OKLaboklab(35.11% 0.0019 -0.1738)
OKLCHoklch(35.11% 0.174 270.6)
XYZxyz(6.5229, 3.7834, 27.9846)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2693 #938C1F
analogous
#1F6093 #1F2693 #521F93
triadic
#1F2693 #931F26 #26931F
tetradic
#1F2693 #931F60 #938C1F #1F9352
square
#1F2693 #931F60 #938C1F #1F9352
split-complementary
#1F2693 #93521F #60931F
monochromatic
#0A0C2E #141960 #1F2693 #2A33C6 #525ADA

Accessibility & contrast

On white

11.95
#1F2693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2693
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2693#FFFFFF#000000##FFFFFF
##1F26931.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f2693;
/* rgb */ color: rgb(31, 38, 147);
/* oklch */ color: oklch(35.1% 0.174 270.6);
Tailwind
colors: {
  custom: {
    50: '#7061b4',
    500: '#1f2693',
    950: '#000000',
  },
}
SCSS
$custom: #1f2693;
$custom-light: #7061b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2693",
  "rgb": {
    "r": 31,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 236.379,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35109,
    "c": 0.17381,
    "h": 270.6
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#1F2693
secondary
#BEB750
accent
#DE40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1F2693

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

Preview Lab → · Contrast checker → · Palette generator →

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