#1F3290#1F3290

#1F3290 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.156 H 268.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#1F3290
RGBrgb(31, 50, 144)
HSLhsl(230, 65%, 34%)
HSVhsv(230, 78%, 56%)
CMYKcmyk(78.5%, 65.3%, 0%, 43.5%)
CIE-LABlab(25.52, 27.97, -53.93)
CIE-LCHlch(25.52, 60.75, 297.42°)
OKLaboklab(36.89% -0.0043 -0.156)
OKLCHoklch(36.89% 0.156 268.4)
XYZxyz(6.7380, 4.5854, 26.9101)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3290 #907D1F
analogous
#1F6A90 #1F3290 #451F90
triadic
#1F3290 #901F32 #32901F
tetradic
#1F3290 #901F6A #907D1F #1F9045
square
#1F3290 #901F6A #907D1F #1F9045
split-complementary
#1F3290 #90451F #6A901F
monochromatic
#090F2B #14215E #1F3290 #2A43C2 #5067D9

Accessibility & contrast

On white

10.95
#1F3290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1F3290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3290
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3290#FFFFFF#000000##FFFFFF
##1F32901.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f3290;
/* rgb */ color: rgb(31, 50, 144);
/* oklch */ color: oklch(36.9% 0.156 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e69b1',
    500: '#1f3290',
    950: '#000000',
  },
}
SCSS
$custom: #1f3290;
$custom-light: #6e69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3290",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 229.912,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36889,
    "c": 0.15604,
    "h": 268.4
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#1F3290
secondary
#BCAA4E
accent
#CB40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1F3290

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

Preview Lab → · Contrast checker → · Palette generator →

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