#1F2F94#1F2F94

#1F2F94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.165 H 269.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#1F2F94
RGBrgb(31, 47, 148)
HSLhsl(232, 65%, 35%)
HSVhsv(232, 79%, 58%)
CMYKcmyk(79.1%, 68.2%, 0%, 42%)
CIE-LABlab(25.14, 31.49, -57.01)
CIE-LCHlch(25.14, 65.13, 298.92°)
OKLaboklab(36.73% -0.0027 -0.165)
OKLCHoklch(36.73% 0.165 269.1)
XYZxyz(6.9250, 4.4617, 28.5074)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2F94 #94841F
analogous
#1F6994 #1F2F94 #4A1F94
triadic
#1F2F94 #941F2F #2F941F
tetradic
#1F2F94 #941F69 #94841F #1F944A
square
#1F2F94 #941F69 #94841F #1F944A
split-complementary
#1F2F94 #944A1F #69941F
monochromatic
#0A0F2F #141F61 #1F2F94 #2A3FC7 #5365DB

Accessibility & contrast

On white

11.10
#1F2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2F94
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2F94#FFFFFF#000000##FFFFFF
##1F2F941.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f2f94;
/* rgb */ color: rgb(31, 47, 148);
/* oklch */ color: oklch(36.7% 0.165 269.1);
Tailwind
colors: {
  custom: {
    50: '#6f67b4',
    500: '#1f2f94',
    950: '#000000',
  },
}
SCSS
$custom: #1f2f94;
$custom-light: #6f67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2f94",
  "rgb": {
    "r": 31,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 231.795,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36728,
    "c": 0.16505,
    "h": 269.1
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#1F2F94
secondary
#BEAF51
accent
#D13FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1F2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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