#1B2B68#1B2B68

#1B2B68 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.109 H 268.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1B2B68
RGBrgb(27, 43, 104)
HSLhsl(228, 59%, 26%)
HSVhsv(228, 74%, 41%)
CMYKcmyk(74%, 58.7%, 0%, 59.2%)
CIE-LABlab(19.88, 16.51, -37.77)
CIE-LCHlch(19.88, 41.22, 293.61°)
OKLaboklab(31.55% -0.0031 -0.1088)
OKLCHoklch(31.55% 0.109 268.4)
XYZxyz(3.8137, 2.9599, 13.4643)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B68 #68581B
analogous
#1B5168 #1B2B68 #311B68
triadic
#1B2B68 #681B2B #2B681B
tetradic
#1B2B68 #681B51 #68581B #1B6831
square
#1B2B68 #681B51 #68581B #1B6831
split-complementary
#1B2B68 #68311B #51681B
monochromatic
#060A18 #0E1737 #1B2B68 #283F99 #3453C9

Accessibility & contrast

On white

13.19
#1B2B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1B2B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B68
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B68#FFFFFF#000000##FFFFFF
##1B2B681.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1b2b68;
/* rgb */ color: rgb(27, 43, 104);
/* oklch */ color: oklch(31.6% 0.109 268.4);
Tailwind
colors: {
  custom: {
    50: '#636494',
    500: '#1b2b68',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b68;
$custom-light: #636494;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b68",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 227.532,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31552,
    "c": 0.1088,
    "h": 268.4
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#1B2B68
secondary
#9D8A42
accent
#C246E2
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1B2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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