#1B2F90#1B2F90

#1B2F90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.161 H 267.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#1B2F90
RGBrgb(27, 47, 144)
HSLhsl(230, 68%, 34%)
HSVhsv(230, 81%, 56%)
CMYKcmyk(81.3%, 67.4%, 0%, 43.5%)
CIE-LABlab(24.57, 29.59, -55.49)
CIE-LCHlch(24.57, 62.88, 298.07°)
OKLaboklab(36.14% -0.0062 -0.1606)
OKLCHoklch(36.14% 0.161 267.8)
XYZxyz(6.5008, 4.2789, 26.8634)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F90 #907C1B
analogous
#1B6990 #1B2F90 #421B90
triadic
#1B2F90 #901B2F #2F901B
tetradic
#1B2F90 #901B69 #907C1B #1B9042
square
#1B2F90 #901B69 #907C1B #1B9042
split-complementary
#1B2F90 #90421B #69901B
monochromatic
#080D29 #111E5C #1B2F90 #2540C4 #4962DD

Accessibility & contrast

On white

11.31
#1B2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1B2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F90
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F90#FFFFFF#000000##FFFFFF
##1B2F901.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b2f90;
/* rgb */ color: rgb(27, 47, 144);
/* oklch */ color: oklch(36.1% 0.161 267.8);
Tailwind
colors: {
  custom: {
    50: '#6d67b1',
    500: '#1b2f90',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f90;
$custom-light: #6d67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f90",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 229.744,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36144,
    "c": 0.16077,
    "h": 267.8
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#1B2F90
secondary
#BFAA48
accent
#CD3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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