#1F289C#1F289C

#1F289C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.183 H 269.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#1F289C
RGBrgb(31, 40, 156)
HSLhsl(236, 67%, 37%)
HSVhsv(236, 80%, 61%)
CMYKcmyk(80.1%, 74.4%, 0%, 38.8%)
CIE-LABlab(24.35, 38.84, -63.23)
CIE-LCHlch(24.35, 74.20, 301.56°)
OKLaboklab(36.4% -0.0003 -0.1831)
OKLCHoklch(36.4% 0.183 269.9)
XYZxyz(7.3226, 4.2084, 31.8724)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F289C #9C931F
analogous
#1F679C #1F289C #551F9C
triadic
#1F289C #9C1F28 #289C1F
tetradic
#1F289C #9C1F67 #9C931F #1F9C55
square
#1F289C #9C1F67 #9C931F #1F9C55
split-complementary
#1F289C #9C551F #679C1F
monochromatic
#0B0E36 #151B69 #1F289C #2935CF #5861DE

Accessibility & contrast

On white

11.40
#1F289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1F289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F289C
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F289C#FFFFFF#000000##FFFFFF
##1F289C1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f289c;
/* rgb */ color: rgb(31, 40, 156);
/* oklch */ color: oklch(36.4% 0.183 269.9);
Tailwind
colors: {
  custom: {
    50: '#7263ba',
    500: '#1f289c',
    950: '#000000',
  },
}
SCSS
$custom: #1f289c;
$custom-light: #7263ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f289c",
  "rgb": {
    "r": 31,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 235.68,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36402,
    "c": 0.18314,
    "h": 269.9
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#1F289C
secondary
#C1BA55
accent
#DD3EEA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1F289C

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

Preview Lab → · Contrast checker → · Palette generator →

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