#1F2B92#1F2B92

#1F2B92 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.167 H 269.9°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#1F2B92
RGBrgb(31, 43, 146)
HSLhsl(234, 65%, 35%)
HSVhsv(234, 79%, 57%)
CMYKcmyk(78.8%, 70.5%, 0%, 42.7%)
CIE-LABlab(23.98, 33.35, -57.69)
CIE-LCHlch(23.98, 66.64, 300.03°)
OKLaboklab(35.82% -0.0004 -0.167)
OKLCHoklch(35.82% 0.167 269.9)
XYZxyz(6.6155, 4.0936, 27.6301)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B92 #92861F
analogous
#1F6592 #1F2B92 #4C1F92
triadic
#1F2B92 #921F2B #2B921F
tetradic
#1F2B92 #921F65 #92861F #1F924C
square
#1F2B92 #921F65 #92861F #1F924C
split-complementary
#1F2B92 #924C1F #65921F
monochromatic
#0A0D2D #141C60 #1F2B92 #2A3AC4 #5160DA

Accessibility & contrast

On white

11.55
#1F2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1F2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B92
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B92#FFFFFF#000000##FFFFFF
##1F2B921.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f2b92;
/* rgb */ color: rgb(31, 43, 146);
/* oklch */ color: oklch(35.8% 0.167 269.9);
Tailwind
colors: {
  custom: {
    50: '#6f65b3',
    500: '#1f2b92',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b92;
$custom-light: #6f65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b92",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 233.739,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.16703,
    "h": 269.9
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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