#1F2F93#1F2F93

#1F2F93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.164 H 269.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1F2F93
RGBrgb(31, 47, 147)
HSLhsl(232, 65%, 35%)
HSVhsv(232, 79%, 58%)
CMYKcmyk(78.9%, 68%, 0%, 42.4%)
CIE-LABlab(25.05, 31.12, -56.55)
CIE-LCHlch(25.05, 64.55, 298.82°)
OKLaboklab(36.63% -0.0027 -0.1637)
OKLCHoklch(36.63% 0.164 269.1)
XYZxyz(6.8462, 4.4302, 28.0924)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2F93 #93831F
analogous
#1F6993 #1F2F93 #491F93
triadic
#1F2F93 #931F2F #2F931F
tetradic
#1F2F93 #931F69 #93831F #1F9349
square
#1F2F93 #931F69 #93831F #1F9349
split-complementary
#1F2F93 #93491F #69931F
monochromatic
#0A0F2E #141F60 #1F2F93 #2A3FC6 #5265DA

Accessibility & contrast

On white

11.13
#1F2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1F2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2F93
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2F93#FFFFFF#000000##FFFFFF
##1F2F931.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1f2f93;
/* rgb */ color: rgb(31, 47, 147);
/* oklch */ color: oklch(36.6% 0.164 269.1);
Tailwind
colors: {
  custom: {
    50: '#6f67b4',
    500: '#1f2f93',
    950: '#000000',
  },
}
SCSS
$custom: #1f2f93;
$custom-light: #6f67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2f93",
  "rgb": {
    "r": 31,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 231.724,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36628,
    "c": 0.16371,
    "h": 269.1
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#1F2F93
secondary
#BEAF50
accent
#D140E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1F2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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