#1B2E61#1B2E61

#1B2E61 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.094 H 265.9°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#1B2E61
RGBrgb(27, 46, 97)
HSLhsl(224, 56%, 24%)
HSVhsv(224, 72%, 38%)
CMYKcmyk(72.2%, 52.6%, 0%, 62%)
CIE-LABlab(20.24, 11.48, -32.62)
CIE-LCHlch(20.24, 34.58, 289.39°)
OKLaboklab(31.65% -0.0067 -0.0935)
OKLCHoklch(31.65% 0.094 265.9)
XYZxyz(3.5859, 3.0497, 11.7066)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E61 #614E1B
analogous
#1B5161 #1B2E61 #2B1B61
triadic
#1B2E61 #611B2E #2E611B
tetradic
#1B2E61 #611B51 #614E1B #1B612B
square
#1B2E61 #611B51 #614E1B #1B612B
split-complementary
#1B2E61 #612B1B #51611B
monochromatic
#070B18 #0E1731 #1B2E61 #284591 #365BC1

Accessibility & contrast

On white

13.04
#1B2E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1B2E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E61
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E61#FFFFFF#000000##FFFFFF
##1B2E611.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123463
Deuteranopia (green-blind)
#012E60
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2e61;
/* rgb */ color: rgb(27, 46, 97);
/* oklch */ color: oklch(31.7% 0.094 265.9);
Tailwind
colors: {
  custom: {
    50: '#61668e',
    500: '#1b2e61',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e61;
$custom-light: #61668e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e61",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 223.714,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31651,
    "c": 0.09377,
    "h": 265.9
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#1B2E61
secondary
#977F41
accent
#B748E0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050C
muted
#7A7A7D

Preview Lab

Preview with #1B2E61

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

Preview Lab → · Contrast checker → · Palette generator →

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