#1F2A69#1F2A69

#1F2A69 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.110 H 271.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#1F2A69
RGBrgb(31, 42, 105)
HSLhsl(231, 54%, 27%)
HSVhsv(231, 70%, 41%)
CMYKcmyk(70.5%, 60%, 0%, 58.8%)
CIE-LABlab(19.91, 18.29, -38.37)
CIE-LCHlch(19.91, 42.50, 295.48°)
OKLaboklab(31.66% 0.0023 -0.1104)
OKLCHoklch(31.66% 0.11 271.2)
XYZxyz(3.9420, 2.9668, 13.7268)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2A69 #695E1F
analogous
#1F4F69 #1F2A69 #391F69
triadic
#1F2A69 #691F2A #2A691F
tetradic
#1F2A69 #691F4F #695E1F #1F6939
square
#1F2A69 #691F4F #695E1F #1F6939
split-complementary
#1F2A69 #69391F #4F691F
monochromatic
#070918 #11173A #1F2A69 #2D3D98 #3D51C6

Accessibility & contrast

On white

13.18
#1F2A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1F2A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2A69
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2A69#FFFFFF#000000##FFFFFF
##1F2A691.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f2a69;
/* rgb */ color: rgb(31, 42, 105);
/* oklch */ color: oklch(31.7% 0.110 271.2);
Tailwind
colors: {
  custom: {
    50: '#656394',
    500: '#1f2a69',
    950: '#000000',
  },
}
SCSS
$custom: #1f2a69;
$custom-light: #656394;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2a69",
  "rgb": {
    "r": 31,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 231.081,
    "s": 54.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31663,
    "c": 0.11045,
    "h": 271.2
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#1F2A69
secondary
#9D9047
accent
#C84ADE
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1F2A69

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

Preview Lab → · Contrast checker → · Palette generator →

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