#1F2690#1F2690

#1F2690 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.170 H 270.8°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#1F2690
RGBrgb(31, 38, 144)
HSLhsl(236, 65%, 34%)
HSVhsv(236, 78%, 56%)
CMYKcmyk(78.5%, 73.6%, 0%, 43.5%)
CIE-LABlab(22.62, 35.78, -58.69)
CIE-LCHlch(22.62, 68.74, 301.37°)
OKLaboklab(34.78% 0.0023 -0.1699)
OKLCHoklch(34.78% 0.17 270.8)
XYZxyz(6.2905, 3.6905, 26.7609)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2690 #90891F
analogous
#1F5F90 #1F2690 #511F90
triadic
#1F2690 #901F26 #26901F
tetradic
#1F2690 #901F5F #90891F #1F9051
square
#1F2690 #901F5F #90891F #1F9051
split-complementary
#1F2690 #90511F #5F901F
monochromatic
#090B2B #14195E #1F2690 #2A33C2 #5059D9

Accessibility & contrast

On white

12.08
#1F2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1F2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2690
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2690#FFFFFF#000000##FFFFFF
##1F26901.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f2690;
/* rgb */ color: rgb(31, 38, 144);
/* oklch */ color: oklch(34.8% 0.170 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f61b2',
    500: '#1f2690',
    950: '#000000',
  },
}
SCSS
$custom: #1f2690;
$custom-light: #6f61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2690",
  "rgb": {
    "r": 31,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 236.283,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34783,
    "c": 0.16995,
    "h": 270.8
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#1F2690
secondary
#BCB64E
accent
#DD40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1F2690

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

Preview Lab → · Contrast checker → · Palette generator →

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