#1F2B93#1F2B93

#1F2B93 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.168 H 269.8°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1F2B93
RGBrgb(31, 43, 147)
HSLhsl(234, 65%, 35%)
HSVhsv(234, 79%, 58%)
CMYKcmyk(78.9%, 70.7%, 0%, 42.4%)
CIE-LABlab(24.08, 33.72, -58.14)
CIE-LCHlch(24.08, 67.21, 300.11°)
OKLaboklab(35.93% -0.0005 -0.1683)
OKLCHoklch(35.93% 0.168 269.8)
XYZxyz(6.6936, 4.1249, 28.0415)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B93 #93871F
analogous
#1F6593 #1F2B93 #4D1F93
triadic
#1F2B93 #931F2B #2B931F
tetradic
#1F2B93 #931F65 #93871F #1F934D
square
#1F2B93 #931F65 #93871F #1F934D
split-complementary
#1F2B93 #934D1F #65931F
monochromatic
#0A0D2E #141C60 #1F2B93 #2A3AC6 #5260DA

Accessibility & contrast

On white

11.51
#1F2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1F2B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B93
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B93#FFFFFF#000000##FFFFFF
##1F2B931.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f2b93;
/* rgb */ color: rgb(31, 43, 147);
/* oklch */ color: oklch(35.9% 0.168 269.8);
Tailwind
colors: {
  custom: {
    50: '#6f65b4',
    500: '#1f2b93',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b93;
$custom-light: #6f65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b93",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 233.793,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35927,
    "c": 0.16834,
    "h": 269.8
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#1F2B93
secondary
#BEB250
accent
#D740E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1F2B93

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

Preview Lab → · Contrast checker → · Palette generator →

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