#1B2E9F#1B2E9F

#1B2E9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.182 H 267.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#1B2E9F
RGBrgb(27, 46, 159)
HSLhsl(231, 71%, 36%)
HSVhsv(231, 83%, 62%)
CMYKcmyk(83%, 71.1%, 0%, 37.6%)
CIE-LABlab(25.83, 35.90, -62.62)
CIE-LCHlch(25.83, 72.18, 299.83°)
OKLaboklab(37.51% -0.0068 -0.1815)
OKLCHoklch(37.51% 0.182 267.8)
XYZxyz(7.6848, 4.6893, 33.2943)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E9F #9F8C1B
analogous
#1B709F #1B2E9F #4A1B9F
triadic
#1B2E9F #9F1B2E #2E9F1B
tetradic
#1B2E9F #9F1B70 #9F8C1B #1B9F4A
square
#1B2E9F #9F1B70 #9F8C1B #1B9F4A
split-complementary
#1B2E9F #9F4A1B #709F1B
monochromatic
#091036 #121F6B #1B2E9F #243DD3 #5367E2

Accessibility & contrast

On white

10.84
#1B2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1B2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E9F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E9F#FFFFFF#000000##FFFFFF
##1B2E9F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b2e9f;
/* rgb */ color: rgb(27, 46, 159);
/* oklch */ color: oklch(37.5% 0.182 267.8);
Tailwind
colors: {
  custom: {
    50: '#7167bd',
    500: '#1b2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e9f;
$custom-light: #7167bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e9f",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 231.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.18159,
    "h": 267.8
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#1B2E9F
secondary
#C5B451
accent
#D43AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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