#1F2B90#1F2B90

#1F2B90 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.164 H 269.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1F2B90
RGBrgb(31, 43, 144)
HSLhsl(234, 65%, 34%)
HSVhsv(234, 78%, 56%)
CMYKcmyk(78.5%, 70.1%, 0%, 43.5%)
CIE-LABlab(23.78, 32.61, -56.79)
CIE-LCHlch(23.78, 65.48, 299.87°)
OKLaboklab(35.62% -0.0002 -0.1644)
OKLCHoklch(35.62% 0.164 269.9)
XYZxyz(6.4613, 4.0320, 26.8179)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B90 #90841F
analogous
#1F6490 #1F2B90 #4C1F90
triadic
#1F2B90 #901F2B #2B901F
tetradic
#1F2B90 #901F64 #90841F #1F904C
square
#1F2B90 #901F64 #90841F #1F904C
split-complementary
#1F2B90 #904C1F #64901F
monochromatic
#090D2B #141C5E #1F2B90 #2A3AC2 #505FD9

Accessibility & contrast

On white

11.62
#1F2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1F2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B90
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B90#FFFFFF#000000##FFFFFF
##1F2B901.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f2b90;
/* rgb */ color: rgb(31, 43, 144);
/* oklch */ color: oklch(35.6% 0.164 269.9);
Tailwind
colors: {
  custom: {
    50: '#6f64b2',
    500: '#1f2b90',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b90;
$custom-light: #6f64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b90",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 233.628,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35616,
    "c": 0.16439,
    "h": 269.9
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#1F2B90
secondary
#BCB14E
accent
#D640E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1F2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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