#1B2E65#1B2E65

#1B2E65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.100 H 266.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#1B2E65
RGBrgb(27, 46, 101)
HSLhsl(225, 58%, 25%)
HSVhsv(225, 73%, 40%)
CMYKcmyk(73.3%, 54.5%, 0%, 60.4%)
CIE-LABlab(20.54, 13.12, -34.75)
CIE-LCHlch(20.54, 37.14, 290.68°)
OKLaboklab(31.98% -0.0062 -0.0998)
OKLCHoklch(31.98% 0.1 266.4)
XYZxyz(3.7771, 3.1262, 12.7138)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E65 #65521B
analogous
#1B5365 #1B2E65 #2D1B65
triadic
#1B2E65 #651B2E #2E651B
tetradic
#1B2E65 #651B53 #65521B #1B652D
square
#1B2E65 #651B53 #65521B #1B652D
split-complementary
#1B2E65 #652D1B #53651B
monochromatic
#060B18 #0E1835 #1B2E65 #284495 #355AC6

Accessibility & contrast

On white

12.92
#1B2E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1B2E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E65
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E65#FFFFFF#000000##FFFFFF
##1B2E651.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3567
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1b2e65;
/* rgb */ color: rgb(27, 46, 101);
/* oklch */ color: oklch(32.0% 0.100 266.4);
Tailwind
colors: {
  custom: {
    50: '#626691',
    500: '#1b2e65',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e65;
$custom-light: #626691;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e65",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 224.595,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31975,
    "c": 0.1,
    "h": 266.4
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#1B2E65
secondary
#9A8441
accent
#B947E1
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1B2E65

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

Preview Lab → · Contrast checker → · Palette generator →

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