#1F3263#1F3263

#1F3263 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.090 H 265.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#1F3263
RGBrgb(31, 50, 99)
HSLhsl(223, 52%, 25%)
HSVhsv(223, 69%, 39%)
CMYKcmyk(68.7%, 49.5%, 0%, 61.2%)
CIE-LABlab(21.85, 10.16, -31.33)
CIE-LCHlch(21.85, 32.94, 287.97°)
OKLaboklab(32.98% -0.0066 -0.0896)
OKLCHoklch(32.98% 0.09 265.8)
XYZxyz(3.9570, 3.4730, 12.2638)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3263 #63501F
analogous
#1F5463 #1F3263 #2E1F63
triadic
#1F3263 #631F32 #32631F
tetradic
#1F3263 #631F54 #63501F #1F632E
square
#1F3263 #631F54 #63501F #1F632E
split-complementary
#1F3263 #632E1F #54631F
monochromatic
#070C17 #101A34 #1F3263 #2E4A92 #3C61C0

Accessibility & contrast

On white

12.39
#1F3263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1F3263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3263
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3263#FFFFFF#000000##FFFFFF
##1F32631.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3865
Deuteranopia (green-blind)
#0D3162
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1f3263;
/* rgb */ color: rgb(31, 50, 99);
/* oklch */ color: oklch(33.0% 0.090 265.8);
Tailwind
colors: {
  custom: {
    50: '#636990',
    500: '#1f3263',
    950: '#000000',
  },
}
SCSS
$custom: #1f3263;
$custom-light: #636990;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3263",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 99
  },
  "hsl": {
    "h": 223.235,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32982,
    "c": 0.08986,
    "h": 265.8
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#1F3263
secondary
#988146
accent
#B44CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #1F3263

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

Preview Lab → · Contrast checker → · Palette generator →

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