#1F2D93#1F2D93

#1F2D93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.166 H 269.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#1F2D93
RGBrgb(31, 45, 147)
HSLhsl(233, 65%, 35%)
HSVhsv(233, 79%, 58%)
CMYKcmyk(78.9%, 69.4%, 0%, 42.4%)
CIE-LABlab(24.56, 32.43, -57.36)
CIE-LCHlch(24.56, 65.89, 299.48°)
OKLaboklab(36.27% -0.0016 -0.166)
OKLCHoklch(36.27% 0.166 269.5)
XYZxyz(6.7681, 4.2739, 28.0664)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2D93 #93851F
analogous
#1F6793 #1F2D93 #4B1F93
triadic
#1F2D93 #931F2D #2D931F
tetradic
#1F2D93 #931F67 #93851F #1F934B
square
#1F2D93 #931F67 #93851F #1F934B
split-complementary
#1F2D93 #934B1F #67931F
monochromatic
#0A0E2E #141E60 #1F2D93 #2A3CC6 #5262DA

Accessibility & contrast

On white

11.32
#1F2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1F2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2D93
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2D93#FFFFFF#000000##FFFFFF
##1F2D931.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f2d93;
/* rgb */ color: rgb(31, 45, 147);
/* oklch */ color: oklch(36.3% 0.166 269.5);
Tailwind
colors: {
  custom: {
    50: '#6f66b4',
    500: '#1f2d93',
    950: '#000000',
  },
}
SCSS
$custom: #1f2d93;
$custom-light: #6f66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2d93",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 232.759,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.16606,
    "h": 269.5
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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