#1B2F9E#1B2F9E

#1B2F9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.179 H 267.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#1B2F9E
RGBrgb(27, 47, 158)
HSLhsl(231, 71%, 36%)
HSVhsv(231, 83%, 62%)
CMYKcmyk(82.9%, 70.3%, 0%, 38%)
CIE-LABlab(25.96, 34.89, -61.79)
CIE-LCHlch(25.96, 70.96, 299.45°)
OKLaboklab(37.58% -0.0072 -0.179)
OKLCHoklch(37.58% 0.179 267.7)
XYZxyz(7.6379, 4.7338, 32.8523)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F9E #9E8A1B
analogous
#1B719E #1B2F9E #491B9E
triadic
#1B2F9E #9E1B2F #2F9E1B
tetradic
#1B2F9E #9E1B71 #9E8A1B #1B9E49
square
#1B2F9E #9E1B71 #9E8A1B #1B9E49
split-complementary
#1B2F9E #9E491B #719E1B
monochromatic
#091035 #121F6A #1B2F9E #243FD2 #5268E1

Accessibility & contrast

On white

10.79
#1B2F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1B2F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F9E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F9E#FFFFFF#000000##FFFFFF
##1B2F9E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2f9e;
/* rgb */ color: rgb(27, 47, 158);
/* oklch */ color: oklch(37.6% 0.179 267.7);
Tailwind
colors: {
  custom: {
    50: '#7168bc',
    500: '#1b2f9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f9e;
$custom-light: #7168bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f9e",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 230.84,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37577,
    "c": 0.17919,
    "h": 267.7
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#1B2F9E
secondary
#C4B351
accent
#D23AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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