#1F2C93#1F2C93

#1F2C93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.167 H 269.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#1F2C93
RGBrgb(31, 44, 147)
HSLhsl(233, 65%, 35%)
HSVhsv(233, 79%, 58%)
CMYKcmyk(78.9%, 70.1%, 0%, 42.4%)
CIE-LABlab(24.32, 33.08, -57.75)
CIE-LCHlch(24.32, 66.55, 299.80°)
OKLaboklab(36.1% -0.001 -0.1672)
OKLCHoklch(36.1% 0.167 269.6)
XYZxyz(6.7304, 4.1985, 28.0538)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2C93 #93861F
analogous
#1F6693 #1F2C93 #4C1F93
triadic
#1F2C93 #931F2C #2C931F
tetradic
#1F2C93 #931F66 #93861F #1F934C
square
#1F2C93 #931F66 #93861F #1F934C
split-complementary
#1F2C93 #934C1F #66931F
monochromatic
#0A0E2E #141D60 #1F2C93 #2A3BC6 #5261DA

Accessibility & contrast

On white

11.41
#1F2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1F2C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2C93
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2C93#FFFFFF#000000##FFFFFF
##1F2C931.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f2c93;
/* rgb */ color: rgb(31, 44, 147);
/* oklch */ color: oklch(36.1% 0.167 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f65b4',
    500: '#1f2c93',
    950: '#000000',
  },
}
SCSS
$custom: #1f2c93;
$custom-light: #6f65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2c93",
  "rgb": {
    "r": 31,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 233.276,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36098,
    "c": 0.1672,
    "h": 269.6
  },
  "luminance": 0.04199
}

Semantic roles & 50–950 ramp

primary
#1F2C93
secondary
#BEB150
accent
#D540E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1F2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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