#1B2E75#1B2E75

#1B2E75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.124 H 267.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1B2E75
RGBrgb(27, 46, 117)
HSLhsl(227, 63%, 28%)
HSVhsv(227, 77%, 46%)
CMYKcmyk(76.9%, 60.7%, 0%, 54.1%)
CIE-LABlab(21.84, 19.62, -42.98)
CIE-LCHlch(21.84, 47.25, 294.54°)
OKLaboklab(33.36% -0.0051 -0.124)
OKLCHoklch(33.36% 0.124 267.6)
XYZxyz(4.6388, 3.4709, 17.2516)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E75 #75621B
analogous
#1B5B75 #1B2E75 #351B75
triadic
#1B2E75 #751B2E #2E751B
tetradic
#1B2E75 #751B5B #75621B #1B7535
square
#1B2E75 #751B5B #75621B #1B7535
split-complementary
#1B2E75 #75351B #5B751B
monochromatic
#060A19 #101A43 #1B2E75 #2642A7 #3959D1

Accessibility & contrast

On white

12.40
#1B2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2E75
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E75#FFFFFF#000000##FFFFFF
##1B2E751.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2e75;
/* rgb */ color: rgb(27, 46, 117);
/* oklch */ color: oklch(33.4% 0.124 267.6);
Tailwind
colors: {
  custom: {
    50: '#66669d',
    500: '#1b2e75',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e75;
$custom-light: #66669d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e75",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 227.333,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33361,
    "c": 0.12413,
    "h": 267.6
  },
  "luminance": 0.03471
}

Semantic roles & 50–950 ramp

primary
#1B2E75
secondary
#A99442
accent
#C342E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1B2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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