#1F296A#1F296A

#1F296A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.113 H 271.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#1F296A
RGBrgb(31, 41, 106)
HSLhsl(232, 55%, 27%)
HSVhsv(232, 71%, 42%)
CMYKcmyk(70.8%, 61.3%, 0%, 58.4%)
CIE-LABlab(19.71, 19.39, -39.35)
CIE-LCHlch(19.71, 43.87, 296.24°)
OKLaboklab(31.54% 0.0032 -0.1133)
OKLCHoklch(31.54% 0.113 271.6)
XYZxyz(3.9587, 2.9174, 13.9874)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F296A #6A601F
analogous
#1F4F6A #1F296A #3B1F6A
triadic
#1F296A #6A1F29 #296A1F
tetradic
#1F296A #6A1F4F #6A601F #1F6A3B
square
#1F296A #6A1F4F #6A601F #1F6A3B
split-complementary
#1F296A #6A3B1F #4F6A1F
monochromatic
#070918 #11173B #1F296A #2D3B99 #3D4FC6

Accessibility & contrast

On white

13.26
#1F296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1F296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F296A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F296A#FFFFFF#000000##FFFFFF
##1F296A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f296a;
/* rgb */ color: rgb(31, 41, 106);
/* oklch */ color: oklch(31.5% 0.113 271.6);
Tailwind
colors: {
  custom: {
    50: '#656295',
    500: '#1f296a',
    950: '#000000',
  },
}
SCSS
$custom: #1f296a;
$custom-light: #656295;
$custom-dark: #000000;
JSON
{
  "hex": "#1f296a",
  "rgb": {
    "r": 31,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 232,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3154,
    "c": 0.11336,
    "h": 271.6
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#1F296A
secondary
#9E9347
accent
#CA4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1F296A

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

Preview Lab → · Contrast checker → · Palette generator →

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