#1F2DA0#1F2DA0

#1F2DA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.183 H 269.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#1F2DA0
RGBrgb(31, 45, 160)
HSLhsl(233, 68%, 37%)
HSVhsv(233, 81%, 63%)
CMYKcmyk(80.6%, 71.9%, 0%, 37.3%)
CIE-LABlab(25.88, 37.20, -63.14)
CIE-LCHlch(25.88, 73.29, 300.51°)
OKLaboklab(37.63% -0.0029 -0.1829)
OKLCHoklch(37.63% 0.183 269.1)
XYZxyz(7.8464, 4.7052, 33.7456)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2DA0 #A0921F
analogous
#1F6EA0 #1F2DA0 #511FA0
triadic
#1F2DA0 #A01F2D #2DA01F
tetradic
#1F2DA0 #A01F6E #A0921F #1FA051
square
#1F2DA0 #A01F6E #A0921F #1FA051
split-complementary
#1F2DA0 #A0511F #6EA01F
monochromatic
#0B1039 #151F6D #1F2DA0 #293BD3 #5A69DF

Accessibility & contrast

On white

10.82
#1F2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1F2DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2DA0
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2DA0#FFFFFF#000000##FFFFFF
##1F2DA01.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1f2da0;
/* rgb */ color: rgb(31, 45, 160);
/* oklch */ color: oklch(37.6% 0.183 269.1);
Tailwind
colors: {
  custom: {
    50: '#7366bd',
    500: '#1f2da0',
    950: '#000000',
  },
}
SCSS
$custom: #1f2da0;
$custom-light: #7366bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2da0",
  "rgb": {
    "r": 31,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 233.488,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.18294,
    "h": 269.1
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#1F2DA0
secondary
#C3B758
accent
#D83DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #1F2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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