#1F2B83#1F2B83

#1F2B83 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.147 H 270.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1F2B83
RGBrgb(31, 43, 131)
HSLhsl(233, 62%, 32%)
HSVhsv(233, 76%, 51%)
CMYKcmyk(76.3%, 67.2%, 0%, 48.6%)
CIE-LABlab(22.50, 27.71, -50.76)
CIE-LCHlch(22.50, 57.84, 298.63°)
OKLaboklab(34.3% 0.0009 -0.1468)
OKLCHoklch(34.3% 0.147 270.3)
XYZxyz(5.5243, 3.6572, 21.8831)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B83 #83771F
analogous
#1F5D83 #1F2B83 #451F83
triadic
#1F2B83 #831F2B #2B831F
tetradic
#1F2B83 #831F5D #83771F #1F8345
square
#1F2B83 #831F5D #83771F #1F8345
split-complementary
#1F2B83 #83451F #5D831F
monochromatic
#080B20 #131B52 #1F2B83 #2B3BB4 #4959D4

Accessibility & contrast

On white

12.13
#1F2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1F2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B83
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B83#FFFFFF#000000##FFFFFF
##1F2B831.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1f2b83;
/* rgb */ color: rgb(31, 43, 131);
/* oklch */ color: oklch(34.3% 0.147 270.3);
Tailwind
colors: {
  custom: {
    50: '#6b64a8',
    500: '#1f2b83',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b83;
$custom-light: #6b64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b83",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 232.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34301,
    "c": 0.14679,
    "h": 270.3
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#1F2B83
secondary
#B6A948
accent
#D143E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1F2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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