#1F2B94#1F2B94

#1F2B94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.170 H 269.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1F2B94
RGBrgb(31, 43, 148)
HSLhsl(234, 65%, 35%)
HSVhsv(234, 79%, 58%)
CMYKcmyk(79.1%, 70.9%, 0%, 42%)
CIE-LABlab(24.18, 34.09, -58.59)
CIE-LCHlch(24.18, 67.79, 300.19°)
OKLaboklab(36.03% -0.0006 -0.1696)
OKLCHoklch(36.03% 0.17 269.8)
XYZxyz(6.7724, 4.1564, 28.4566)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B94 #94881F
analogous
#1F6694 #1F2B94 #4D1F94
triadic
#1F2B94 #941F2B #2B941F
tetradic
#1F2B94 #941F66 #94881F #1F944D
square
#1F2B94 #941F66 #94881F #1F944D
split-complementary
#1F2B94 #944D1F #66941F
monochromatic
#0A0E2F #141C61 #1F2B94 #2A3AC7 #5361DB

Accessibility & contrast

On white

11.47
#1F2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1F2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B94
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B94#FFFFFF#000000##FFFFFF
##1F2B941.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1f2b94;
/* rgb */ color: rgb(31, 43, 148);
/* oklch */ color: oklch(36.0% 0.170 269.8);
Tailwind
colors: {
  custom: {
    50: '#7065b4',
    500: '#1f2b94',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b94;
$custom-light: #7065b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b94",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 233.846,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36031,
    "c": 0.16965,
    "h": 269.8
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#1F2B94
secondary
#BEB351
accent
#D73FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1F2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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