#1B2E5E#1B2E5E

#1B2E5E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.089 H 265.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#1B2E5E
RGBrgb(27, 46, 94)
HSLhsl(223, 55%, 24%)
HSVhsv(223, 71%, 37%)
CMYKcmyk(71.3%, 51.1%, 0%, 63.1%)
CIE-LABlab(20.02, 10.26, -30.99)
CIE-LCHlch(20.02, 32.65, 288.31°)
OKLaboklab(31.41% -0.0072 -0.0888)
OKLCHoklch(31.41% 0.089 265.4)
XYZxyz(3.4487, 2.9948, 10.9838)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E5E #5E4B1B
analogous
#1B4F5E #1B2E5E #291B5E
triadic
#1B2E5E #5E1B2E #2E5E1B
tetradic
#1B2E5E #5E1B4F #5E4B1B #1B5E29
square
#1B2E5E #5E1B4F #5E4B1B #1B5E29
split-complementary
#1B2E5E #5E291B #4F5E1B
monochromatic
#070C18 #0D172E #1B2E5E #29458E #365DBD

Accessibility & contrast

On white

13.13
#1B2E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2E5E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E5E#FFFFFF#000000##FFFFFF
##1B2E5E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#072D5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2e5e;
/* rgb */ color: rgb(27, 46, 94);
/* oklch */ color: oklch(31.4% 0.089 265.4);
Tailwind
colors: {
  custom: {
    50: '#60668c',
    500: '#1b2e5e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e5e;
$custom-light: #60668c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e5e",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 222.985,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31413,
    "c": 0.08905,
    "h": 265.4
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#1B2E5E
secondary
#947C41
accent
#B449DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #1B2E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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