#1F2F90#1F2F90

#1F2F90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.160 H 269.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#1F2F90
RGBrgb(31, 47, 144)
HSLhsl(232, 65%, 34%)
HSVhsv(232, 78%, 56%)
CMYKcmyk(78.5%, 67.4%, 0%, 43.5%)
CIE-LABlab(24.76, 29.98, -55.18)
CIE-LCHlch(24.76, 62.80, 298.52°)
OKLaboklab(36.33% -0.0024 -0.1597)
OKLCHoklch(36.33% 0.16 269.1)
XYZxyz(6.6139, 4.3372, 26.8687)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2F90 #90801F
analogous
#1F6890 #1F2F90 #471F90
triadic
#1F2F90 #901F2F #2F901F
tetradic
#1F2F90 #901F68 #90801F #1F9047
square
#1F2F90 #901F68 #90801F #1F9047
split-complementary
#1F2F90 #90471F #68901F
monochromatic
#090E2B #141F5E #1F2F90 #2A3FC2 #5064D9

Accessibility & contrast

On white

11.24
#1F2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2F90
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2F90#FFFFFF#000000##FFFFFF
##1F2F901.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f2f90;
/* rgb */ color: rgb(31, 47, 144);
/* oklch */ color: oklch(36.3% 0.160 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e67b1',
    500: '#1f2f90',
    950: '#000000',
  },
}
SCSS
$custom: #1f2f90;
$custom-light: #6e67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2f90",
  "rgb": {
    "r": 31,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 231.504,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36329,
    "c": 0.15969,
    "h": 269.1
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#1F2F90
secondary
#BCAD4E
accent
#D040E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1F2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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