#1F2E93#1F2E93

#1F2E93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.165 H 269.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#1F2E93
RGBrgb(31, 46, 147)
HSLhsl(232, 65%, 35%)
HSVhsv(232, 79%, 58%)
CMYKcmyk(78.9%, 68.7%, 0%, 42.4%)
CIE-LABlab(24.80, 31.77, -56.96)
CIE-LCHlch(24.80, 65.22, 299.16°)
OKLaboklab(36.45% -0.0021 -0.1649)
OKLCHoklch(36.45% 0.165 269.3)
XYZxyz(6.8067, 4.3511, 28.0792)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E93 #93841F
analogous
#1F6893 #1F2E93 #4A1F93
triadic
#1F2E93 #931F2E #2E931F
tetradic
#1F2E93 #931F68 #93841F #1F934A
square
#1F2E93 #931F68 #93841F #1F934A
split-complementary
#1F2E93 #934A1F #68931F
monochromatic
#0A0E2E #141E60 #1F2E93 #2A3EC6 #5264DA

Accessibility & contrast

On white

11.23
#1F2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2E93
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E93#FFFFFF#000000##FFFFFF
##1F2E931.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f2e93;
/* rgb */ color: rgb(31, 46, 147);
/* oklch */ color: oklch(36.4% 0.165 269.3);
Tailwind
colors: {
  custom: {
    50: '#6f67b4',
    500: '#1f2e93',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e93;
$custom-light: #6f67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e93",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 232.241,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36449,
    "c": 0.16489,
    "h": 269.3
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#1F2E93
secondary
#BEB050
accent
#D240E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1F2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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