#1B2D75#1B2D75

#1B2D75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.125 H 268.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1B2D75
RGBrgb(27, 45, 117)
HSLhsl(228, 63%, 28%)
HSVhsv(228, 77%, 46%)
CMYKcmyk(76.9%, 61.5%, 0%, 54.1%)
CIE-LABlab(21.56, 20.34, -43.44)
CIE-LCHlch(21.56, 47.97, 295.08°)
OKLaboklab(33.15% -0.0043 -0.1254)
OKLCHoklch(33.15% 0.125 268)
XYZxyz(4.6002, 3.3936, 17.2388)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D75 #75631B
analogous
#1B5A75 #1B2D75 #361B75
triadic
#1B2D75 #751B2D #2D751B
tetradic
#1B2D75 #751B5A #75631B #1B7536
square
#1B2D75 #751B5A #75631B #1B7536
split-complementary
#1B2D75 #75361B #5A751B
monochromatic
#060A19 #101A43 #1B2D75 #2640A7 #3958D1

Accessibility & contrast

On white

12.51
#1B2D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B2D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D75
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D75#FFFFFF#000000##FFFFFF
##1B2D751.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2d75;
/* rgb */ color: rgb(27, 45, 117);
/* oklch */ color: oklch(33.1% 0.125 268.0);
Tailwind
colors: {
  custom: {
    50: '#66659d',
    500: '#1b2d75',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d75;
$custom-light: #66659d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d75",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 228,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3315,
    "c": 0.12546,
    "h": 268
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#1B2D75
secondary
#A99542
accent
#C542E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1B2D75

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

Preview Lab → · Contrast checker → · Palette generator →

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