#1F2E53#1F2E53

#1F2E53 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.070 H 265.8°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#1F2E53
RGBrgb(31, 46, 83)
HSLhsl(223, 46%, 22%)
HSVhsv(223, 63%, 33%)
CMYKcmyk(62.7%, 44.6%, 0%, 67.5%)
CIE-LABlab(19.51, 6.72, -24.49)
CIE-LCHlch(19.51, 25.39, 285.35°)
OKLaboklab(30.85% -0.0051 -0.0696)
OKLCHoklch(30.85% 0.07 265.8)
XYZxyz(3.1029, 2.8696, 8.5723)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E53 #53441F
analogous
#1F4853 #1F2E53 #2A1F53
triadic
#1F2E53 #531F2E #2E531F
tetradic
#1F2E53 #531F48 #53441F #1F532A
square
#1F2E53 #531F48 #53441F #1F532A
split-complementary
#1F2E53 #532A1F #48531F
monochromatic
#080C16 #0E1526 #1F2E53 #304780 #405FAC

Accessibility & contrast

On white

13.34
#1F2E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1F2E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2E53
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E53#FFFFFF#000000##FFFFFF
##1F2E531.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3254
Deuteranopia (green-blind)
#172D52
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1f2e53;
/* rgb */ color: rgb(31, 46, 83);
/* oklch */ color: oklch(30.8% 0.070 265.8);
Tailwind
colors: {
  custom: {
    50: '#606683',
    500: '#1f2e53',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e53;
$custom-light: #606683;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e53",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 222.692,
    "s": 45.614,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30845,
    "c": 0.06974,
    "h": 265.8
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#1F2E53
secondary
#887546
accent
#B053D5
background
#F5F6F8
surface
#EAEBEF
border
#C6C6CA
text
#05050A
muted
#797A7C

Preview Lab

Preview with #1F2E53

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

Preview Lab → · Contrast checker → · Palette generator →

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