#1F2E73#1F2E73

#1F2E73 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.120 H 269.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#1F2E73
RGBrgb(31, 46, 115)
HSLhsl(229, 58%, 29%)
HSVhsv(229, 73%, 45%)
CMYKcmyk(73%, 60%, 0%, 54.9%)
CIE-LABlab(21.88, 19.40, -41.63)
CIE-LCHlch(21.88, 45.92, 294.99°)
OKLaboklab(33.4% -0.0011 -0.1199)
OKLCHoklch(33.4% 0.12 269.5)
XYZxyz(4.6355, 3.4826, 16.6443)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2E73 #73641F
analogous
#1F5873 #1F2E73 #3A1F73
triadic
#1F2E73 #731F2E #2E731F
tetradic
#1F2E73 #731F58 #73641F #1F733A
square
#1F2E73 #731F58 #73641F #1F733A
split-complementary
#1F2E73 #733A1F #58731F
monochromatic
#060A18 #121B43 #1F2E73 #2C41A3 #415ACC

Accessibility & contrast

On white

12.38
#1F2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1F2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2E73
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2E73#FFFFFF#000000##FFFFFF
##1F2E731.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1f2e73;
/* rgb */ color: rgb(31, 46, 115);
/* oklch */ color: oklch(33.4% 0.120 269.5);
Tailwind
colors: {
  custom: {
    50: '#67669c',
    500: '#1f2e73',
    950: '#000000',
  },
}
SCSS
$custom: #1f2e73;
$custom-light: #67669c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2e73",
  "rgb": {
    "r": 31,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 229.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.11994,
    "h": 269.5
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#1F2E73
secondary
#A79647
accent
#C547E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1F2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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