#1F2B59#1F2B59

#1F2B59 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.084 H 269.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#1F2B59
RGBrgb(31, 43, 89)
HSLhsl(228, 48%, 24%)
HSVhsv(228, 65%, 35%)
CMYKcmyk(65.2%, 51.7%, 0%, 65.1%)
CIE-LABlab(18.97, 11.24, -29.36)
CIE-LCHlch(18.97, 31.44, 290.95°)
OKLaboklab(30.56% -0.0002 -0.0839)
OKLCHoklch(30.56% 0.084 269.9)
XYZxyz(3.2315, 2.7401, 9.8078)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B59 #594D1F
analogous
#1F4859 #1F2B59 #301F59
triadic
#1F2B59 #591F2B #2B591F
tetradic
#1F2B59 #591F48 #594D1F #1F5930
square
#1F2B59 #591F48 #594D1F #1F5930
split-complementary
#1F2B59 #59301F #48591F
monochromatic
#080B17 #0F152C #1F2B59 #2F4186 #3F57B4

Accessibility & contrast

On white

13.57
#1F2B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1F2B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B59
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B59#FFFFFF#000000##FFFFFF
##1F2B591.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14315B
Deuteranopia (green-blind)
#0A2C58
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1f2b59;
/* rgb */ color: rgb(31, 43, 89);
/* oklch */ color: oklch(30.6% 0.084 269.9);
Tailwind
colors: {
  custom: {
    50: '#616488',
    500: '#1f2b59',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b59;
$custom-light: #616488;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b59",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 227.586,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30561,
    "c": 0.0839,
    "h": 269.9
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#1F2B59
secondary
#8E7F46
accent
#BC50D8
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #1F2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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