#1F2E69#1F2E69

#1F2E69 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.105 H 269.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1F2E69
RGBrgb(31, 46, 105)
HSLhsl(228, 54%, 27%)
HSVhsv(228, 70%, 41%)
CMYKcmyk(70.5%, 56.2%, 0%, 58.8%)
CIE-LABlab(21.07, 15.42, -36.48)
CIE-LCHlch(21.07, 39.61, 292.91°)
OKLaboklab(32.54% -0.0016 -0.1048)
OKLCHoklch(32.54% 0.105 269.1)
XYZxyz(4.0910, 3.2648, 13.7764)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E69 #695A1F
analogous
#1F5369 #1F2E69 #351F69
triadic
#1F2E69 #691F2E #2E691F
tetradic
#1F2E69 #691F53 #695A1F #1F6935
square
#1F2E69 #691F53 #695A1F #1F6935
split-complementary
#1F2E69 #69351F #53691F
monochromatic
#070A18 #11193A #1F2E69 #2D4398 #3D59C6

Accessibility & contrast

On white

12.70
#1F2E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F2E69
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E69#FFFFFF#000000##FFFFFF
##1F2E691.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1f2e69;
/* rgb */ color: rgb(31, 46, 105);
/* oklch */ color: oklch(32.5% 0.105 269.1);
Tailwind
colors: {
  custom: {
    50: '#646694',
    500: '#1f2e69',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e69;
$custom-light: #646694;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e69",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 105
  },
  "hsl": {
    "h": 227.838,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32537,
    "c": 0.10483,
    "h": 269.1
  },
  "luminance": 0.03265
}

Semantic roles & 50–950 ramp

primary
#1F2E69
secondary
#9D8C47
accent
#C04ADE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1F2E69

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

Preview Lab → · Contrast checker → · Palette generator →

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