#1F2E67#1F2E67

#1F2E67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.102 H 269.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#1F2E67
RGBrgb(31, 46, 103)
HSLhsl(228, 54%, 26%)
HSVhsv(228, 70%, 40%)
CMYKcmyk(69.9%, 55.3%, 0%, 59.6%)
CIE-LABlab(20.92, 14.62, -35.43)
CIE-LCHlch(20.92, 38.33, 292.43°)
OKLaboklab(32.37% -0.0018 -0.1017)
OKLCHoklch(32.37% 0.102 269)
XYZxyz(3.9894, 3.2242, 13.2414)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E67 #67581F
analogous
#1F5267 #1F2E67 #341F67
triadic
#1F2E67 #671F2E #2E671F
tetradic
#1F2E67 #671F52 #67581F #1F6734
square
#1F2E67 #671F52 #67581F #1F6734
split-complementary
#1F2E67 #67341F #52671F
monochromatic
#070B18 #111938 #1F2E67 #2D4396 #3C58C4

Accessibility & contrast

On white

12.77
#1F2E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1F2E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2E67
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E67#FFFFFF#000000##FFFFFF
##1F2E671.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3669
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1f2e67;
/* rgb */ color: rgb(31, 46, 103);
/* oklch */ color: oklch(32.4% 0.102 269.0);
Tailwind
colors: {
  custom: {
    50: '#646693',
    500: '#1f2e67',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e67;
$custom-light: #646693;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e67",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 227.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32371,
    "c": 0.10175,
    "h": 269
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#1F2E67
secondary
#9B8A46
accent
#BF4BDD
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1F2E67

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

Preview Lab → · Contrast checker → · Palette generator →

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