#1B2B5E#1B2B5E

#1B2B5E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.093 H 267.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#1B2B5E
RGBrgb(27, 43, 94)
HSLhsl(226, 55%, 24%)
HSVhsv(226, 71%, 37%)
CMYKcmyk(71.3%, 54.3%, 0%, 63.1%)
CIE-LABlab(19.09, 12.44, -32.49)
CIE-LCHlch(19.09, 34.79, 290.95°)
OKLaboklab(30.71% -0.004 -0.0932)
OKLCHoklch(30.71% 0.093 267.5)
XYZxyz(3.3356, 2.7686, 10.9461)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B5E #5E4E1B
analogous
#1B4C5E #1B2B5E #2C1B5E
triadic
#1B2B5E #5E1B2B #2B5E1B
tetradic
#1B2B5E #5E1B4C #5E4E1B #1B5E2C
square
#1B2B5E #5E1B4C #5E4E1B #1B5E2C
split-complementary
#1B2B5E #5E2C1B #4C5E1B
monochromatic
#070B18 #0D152E #1B2B5E #29418E #3656BD

Accessibility & contrast

On white

13.52
#1B2B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2B5E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B5E#FFFFFF#000000##FFFFFF
##1B2B5E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2b5e;
/* rgb */ color: rgb(27, 43, 94);
/* oklch */ color: oklch(30.7% 0.093 267.5);
Tailwind
colors: {
  custom: {
    50: '#60638c',
    500: '#1b2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b5e;
$custom-light: #60638c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b5e",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 225.672,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30705,
    "c": 0.09331,
    "h": 267.5
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#1B2B5E
secondary
#948041
accent
#BB49DF
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1B2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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