#1B2B65#1B2B65

#1B2B65 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.104 H 268.2°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1B2B65
RGBrgb(27, 43, 101)
HSLhsl(227, 58%, 25%)
HSVhsv(227, 73%, 40%)
CMYKcmyk(73.3%, 57.4%, 0%, 60.4%)
CIE-LABlab(19.64, 15.29, -36.21)
CIE-LCHlch(19.64, 39.31, 292.89°)
OKLaboklab(31.29% -0.0033 -0.1042)
OKLCHoklch(31.29% 0.104 268.2)
XYZxyz(3.6640, 2.9000, 12.6761)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B65 #65551B
analogous
#1B5065 #1B2B65 #301B65
triadic
#1B2B65 #651B2B #2B651B
tetradic
#1B2B65 #651B50 #65551B #1B6530
square
#1B2B65 #651B50 #65551B #1B6530
split-complementary
#1B2B65 #65301B #50651B
monochromatic
#060A18 #0E1635 #1B2B65 #284095 #3554C6

Accessibility & contrast

On white

13.29
#1B2B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1B2B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B65
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B65#FFFFFF#000000##FFFFFF
##1B2B651.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013367
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2b65;
/* rgb */ color: rgb(27, 43, 101);
/* oklch */ color: oklch(31.3% 0.104 268.2);
Tailwind
colors: {
  custom: {
    50: '#626391',
    500: '#1b2b65',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b65;
$custom-light: #626391;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b65",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 227.027,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31292,
    "c": 0.10421,
    "h": 268.2
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#1B2B65
secondary
#9A8741
accent
#C047E1
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B2B65

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

Preview Lab → · Contrast checker → · Palette generator →

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