#1F2B68#1F2B68

#1F2B68 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.108 H 270.7°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#1F2B68
RGBrgb(31, 43, 104)
HSLhsl(230, 54%, 26%)
HSVhsv(230, 70%, 41%)
CMYKcmyk(70.2%, 58.7%, 0%, 59.2%)
CIE-LABlab(20.12, 17.18, -37.38)
CIE-LCHlch(20.12, 41.14, 294.68°)
OKLaboklab(31.79% 0.0013 -0.1075)
OKLCHoklch(31.79% 0.108 270.7)
XYZxyz(3.9268, 3.0182, 13.4696)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2B68 #685C1F
analogous
#1F5068 #1F2B68 #381F68
triadic
#1F2B68 #681F2B #2B681F
tetradic
#1F2B68 #681F50 #685C1F #1F6838
square
#1F2B68 #681F50 #685C1F #1F6838
split-complementary
#1F2B68 #68381F #50681F
monochromatic
#070A18 #111839 #1F2B68 #2D3E97 #3C53C5

Accessibility & contrast

On white

13.09
#1F2B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1F2B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2B68
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2B68#FFFFFF#000000##FFFFFF
##1F2B681.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f2b68;
/* rgb */ color: rgb(31, 43, 104);
/* oklch */ color: oklch(31.8% 0.108 270.7);
Tailwind
colors: {
  custom: {
    50: '#646494',
    500: '#1f2b68',
    950: '#000000',
  },
}
SCSS
$custom: #1f2b68;
$custom-light: #646494;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2b68",
  "rgb": {
    "r": 31,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 230.137,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31791,
    "c": 0.10752,
    "h": 270.7
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#1F2B68
secondary
#9C8E46
accent
#C54ADD
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1F2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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