#1F2E94#1F2E94

#1F2E94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.166 H 269.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#1F2E94
RGBrgb(31, 46, 148)
HSLhsl(232, 65%, 35%)
HSVhsv(232, 79%, 58%)
CMYKcmyk(79.1%, 68.9%, 0%, 42%)
CIE-LABlab(24.90, 32.15, -57.41)
CIE-LCHlch(24.90, 65.80, 299.25°)
OKLaboklab(36.55% -0.0022 -0.1662)
OKLCHoklch(36.55% 0.166 269.2)
XYZxyz(6.8855, 4.3826, 28.4943)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E94 #94851F
analogous
#1F6894 #1F2E94 #4B1F94
triadic
#1F2E94 #941F2E #2E941F
tetradic
#1F2E94 #941F68 #94851F #1F944B
square
#1F2E94 #941F68 #94851F #1F944B
split-complementary
#1F2E94 #944B1F #68941F
monochromatic
#0A0F2F #141E61 #1F2E94 #2A3EC7 #5364DB

Accessibility & contrast

On white

11.19
#1F2E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1F2E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2E94
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E94#FFFFFF#000000##FFFFFF
##1F2E941.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f2e94;
/* rgb */ color: rgb(31, 46, 148);
/* oklch */ color: oklch(36.5% 0.166 269.2);
Tailwind
colors: {
  custom: {
    50: '#6f67b4',
    500: '#1f2e94',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e94;
$custom-light: #6f67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e94",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 232.308,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3655,
    "c": 0.16622,
    "h": 269.2
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#1F2E94
secondary
#BEB051
accent
#D33FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1F2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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