#1B2F96#1B2F96

#1B2F96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.169 H 267.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#1B2F96
RGBrgb(27, 47, 150)
HSLhsl(230, 69%, 35%)
HSVhsv(230, 82%, 59%)
CMYKcmyk(82%, 68.7%, 0%, 41.2%)
CIE-LABlab(25.16, 31.89, -58.22)
CIE-LCHlch(25.16, 66.38, 298.71°)
OKLaboklab(36.75% -0.0066 -0.1686)
OKLCHoklch(36.75% 0.169 267.8)
XYZxyz(6.9716, 4.4672, 29.3431)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F96 #96821B
analogous
#1B6D96 #1B2F96 #451B96
triadic
#1B2F96 #961B2F #2F961B
tetradic
#1B2F96 #961B6D #96821B #1B9645
square
#1B2F96 #961B6D #96821B #1B9645
split-complementary
#1B2F96 #96451B #6D961B
monochromatic
#080E2E #121F62 #1B2F96 #243FCA #4D64DF

Accessibility & contrast

On white

11.09
#1B2F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1B2F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F96
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F96#FFFFFF#000000##FFFFFF
##1B2F961.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b2f96;
/* rgb */ color: rgb(27, 47, 150);
/* oklch */ color: oklch(36.8% 0.169 267.8);
Tailwind
colors: {
  custom: {
    50: '#6f67b6',
    500: '#1b2f96',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f96;
$custom-light: #6f67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f96",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 230.244,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36751,
    "c": 0.16876,
    "h": 267.8
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#1B2F96
secondary
#C1AE4C
accent
#D03BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1B2F96

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

Preview Lab → · Contrast checker → · Palette generator →

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