#1B2B7D#1B2B7D

#1B2B7D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.140 H 268.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#1B2B7D
RGBrgb(27, 43, 125)
HSLhsl(230, 64%, 30%)
HSVhsv(230, 78%, 49%)
CMYKcmyk(78.4%, 65.6%, 0%, 51%)
CIE-LABlab(21.73, 24.92, -48.25)
CIE-LCHlch(21.73, 54.31, 297.32°)
OKLaboklab(33.5% -0.0029 -0.1395)
OKLCHoklch(33.5% 0.14 268.8)
XYZxyz(5.0163, 3.4409, 19.7978)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2B7D #7D6D1B
analogous
#1B5C7D #1B2B7D #3C1B7D
triadic
#1B2B7D #7D1B2B #2B7D1B
tetradic
#1B2B7D #7D1B5C #7D6D1B #1B7D3C
square
#1B2B7D #7D1B5C #7D6D1B #1B7D3C
split-complementary
#1B2B7D #7D3C1B #5C7D1B
monochromatic
#050919 #101A4B #1B2B7D #263CAF #3D56D5

Accessibility & contrast

On white

12.44
#1B2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B2B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2B7D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2B7D#FFFFFF#000000##FFFFFF
##1B2B7D1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2b7d;
/* rgb */ color: rgb(27, 43, 125);
/* oklch */ color: oklch(33.5% 0.140 268.8);
Tailwind
colors: {
  custom: {
    50: '#6864a3',
    500: '#1b2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1b2b7d;
$custom-light: #6864a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2b7d",
  "rgb": {
    "r": 27,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 230.204,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33502,
    "c": 0.13956,
    "h": 268.8
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#1B2B7D
secondary
#B19F43
accent
#CC40E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1B2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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