#1B2B5F#1B2B5F

#1B2B5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.095 H 267.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1B2B5F
RGBrgb(27, 43, 95)
HSLhsl(226, 56%, 24%)
HSVhsv(226, 72%, 37%)
CMYKcmyk(71.6%, 54.7%, 0%, 62.7%)
CIE-LABlab(19.17, 12.85, -33.03)
CIE-LCHlch(19.17, 35.44, 291.25°)
OKLaboklab(30.79% -0.0039 -0.0948)
OKLCHoklch(30.79% 0.095 267.7)
XYZxyz(3.3807, 2.7867, 11.1840)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B5F #5F4F1B
analogous
#1B4D5F #1B2B5F #2D1B5F
triadic
#1B2B5F #5F1B2B #2B5F1B
tetradic
#1B2B5F #5F1B4D #5F4F1B #1B5F2D
square
#1B2B5F #5F1B4D #5F4F1B #1B5F2D
split-complementary
#1B2B5F #5F2D1B #4D5F1B
monochromatic
#070B18 #0D152F #1B2B5F #29418F #3656BE

Accessibility & contrast

On white

13.48
#1B2B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1B2B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B5F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B5F#FFFFFF#000000##FFFFFF
##1B2B5F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3261
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1b2b5f;
/* rgb */ color: rgb(27, 43, 95);
/* oklch */ color: oklch(30.8% 0.095 267.7);
Tailwind
colors: {
  custom: {
    50: '#60638d',
    500: '#1b2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b5f;
$custom-light: #60638d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b5f",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 225.882,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30787,
    "c": 0.09488,
    "h": 267.7
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#1B2B5F
secondary
#958141
accent
#BC49DF
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1B2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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