#1B2F9F#1B2F9F

#1B2F9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.180 H 267.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#1B2F9F
RGBrgb(27, 47, 159)
HSLhsl(231, 71%, 36%)
HSVhsv(231, 83%, 62%)
CMYKcmyk(83%, 70.4%, 0%, 37.6%)
CIE-LABlab(26.06, 35.26, -62.23)
CIE-LCHlch(26.06, 71.53, 299.54°)
OKLaboklab(37.68% -0.0073 -0.1803)
OKLCHoklch(37.68% 0.18 267.7)
XYZxyz(7.7243, 4.7683, 33.3074)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F9F #9F8B1B
analogous
#1B719F #1B2F9F #491B9F
triadic
#1B2F9F #9F1B2F #2F9F1B
tetradic
#1B2F9F #9F1B71 #9F8B1B #1B9F49
square
#1B2F9F #9F1B71 #9F8B1B #1B9F49
split-complementary
#1B2F9F #9F491B #719F1B
monochromatic
#091036 #12206B #1B2F9F #243ED3 #5368E2

Accessibility & contrast

On white

10.75
#1B2F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2F9F
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F9F#FFFFFF#000000##FFFFFF
##1B2F9F1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b2f9f;
/* rgb */ color: rgb(27, 47, 159);
/* oklch */ color: oklch(37.7% 0.180 267.7);
Tailwind
colors: {
  custom: {
    50: '#7168bc',
    500: '#1b2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f9f;
$custom-light: #7168bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f9f",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 230.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37681,
    "c": 0.18049,
    "h": 267.7
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#1B2F9F
secondary
#C5B351
accent
#D33AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1B2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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