#1F2E83#1F2E83

#1F2E83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.143 H 269.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1F2E83
RGBrgb(31, 46, 131)
HSLhsl(231, 62%, 32%)
HSVhsv(231, 76%, 51%)
CMYKcmyk(76.3%, 64.9%, 0%, 48.6%)
CIE-LABlab(23.28, 25.67, -49.49)
CIE-LCHlch(23.28, 55.75, 297.42°)
OKLaboklab(34.87% -0.0011 -0.143)
OKLCHoklch(34.87% 0.143 269.5)
XYZxyz(5.6374, 3.8834, 21.9208)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E83 #83741F
analogous
#1F6083 #1F2E83 #421F83
triadic
#1F2E83 #831F2E #2E831F
tetradic
#1F2E83 #831F60 #83741F #1F8342
square
#1F2E83 #831F60 #83741F #1F8342
split-complementary
#1F2E83 #83421F #60831F
monochromatic
#080B20 #131D52 #1F2E83 #2B3FB4 #495DD4

Accessibility & contrast

On white

11.82
#1F2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1F2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2E83
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E83#FFFFFF#000000##FFFFFF
##1F2E831.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1f2e83;
/* rgb */ color: rgb(31, 46, 131);
/* oklch */ color: oklch(34.9% 0.143 269.5);
Tailwind
colors: {
  custom: {
    50: '#6b66a8',
    500: '#1f2e83',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e83;
$custom-light: #6b66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e83",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 231,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34873,
    "c": 0.14303,
    "h": 269.5
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#1F2E83
secondary
#B6A548
accent
#CD43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1F2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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