#1F2E90#1F2E90

#1F2E90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.161 H 269.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#1F2E90
RGBrgb(31, 46, 144)
HSLhsl(232, 65%, 34%)
HSVhsv(232, 78%, 56%)
CMYKcmyk(78.5%, 68.1%, 0%, 43.5%)
CIE-LABlab(24.51, 30.65, -55.59)
CIE-LCHlch(24.51, 63.47, 298.87°)
OKLaboklab(36.15% -0.0019 -0.1609)
OKLCHoklch(36.15% 0.161 269.3)
XYZxyz(6.5744, 4.2582, 26.8556)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E90 #90811F
analogous
#1F6790 #1F2E90 #481F90
triadic
#1F2E90 #901F2E #2E901F
tetradic
#1F2E90 #901F67 #90811F #1F9048
square
#1F2E90 #901F67 #90811F #1F9048
split-complementary
#1F2E90 #90481F #67901F
monochromatic
#090E2B #141E5E #1F2E90 #2A3EC2 #5062D9

Accessibility & contrast

On white

11.34
#1F2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1F2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2E90
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E90#FFFFFF#000000##FFFFFF
##1F2E901.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f2e90;
/* rgb */ color: rgb(31, 46, 144);
/* oklch */ color: oklch(36.1% 0.161 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e67b1',
    500: '#1f2e90',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e90;
$custom-light: #6e67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e90",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 232.035,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36147,
    "c": 0.16088,
    "h": 269.3
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#1F2E90
secondary
#BCAE4E
accent
#D140E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1F2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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