#1B269E#1B269E

#1B269E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.189 H 268.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#1B269E
RGBrgb(27, 38, 158)
HSLhsl(235, 71%, 36%)
HSVhsv(235, 83%, 62%)
CMYKcmyk(82.9%, 75.9%, 0%, 38%)
CIE-LABlab(23.96, 40.45, -65.10)
CIE-LCHlch(23.96, 76.65, 301.85°)
OKLaboklab(36.14% -0.0038 -0.1887)
OKLCHoklch(36.14% 0.189 268.8)
XYZxyz(7.3145, 4.0870, 32.7445)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B269E #9E931B
analogous
#1B689E #1B269E #521B9E
triadic
#1B269E #9E1B26 #269E1B
tetradic
#1B269E #9E1B68 #9E931B #1B9E52
square
#1B269E #9E1B68 #9E931B #1B9E52
split-complementary
#1B269E #9E521B #689E1B
monochromatic
#090D35 #12196A #1B269E #2433D2 #525EE1

Accessibility & contrast

On white

11.55
#1B269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1B269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B269E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B269E#FFFFFF#000000##FFFFFF
##1B269E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b269e;
/* rgb */ color: rgb(27, 38, 158);
/* oklch */ color: oklch(36.1% 0.189 268.8);
Tailwind
colors: {
  custom: {
    50: '#7262bc',
    500: '#1b269e',
    950: '#000000',
  },
}
SCSS
$custom: #1b269e;
$custom-light: #7262bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b269e",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 234.962,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36137,
    "c": 0.18869,
    "h": 268.8
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#1B269E
secondary
#C4BA51
accent
#DF3AEE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1B269E

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

Preview Lab → · Contrast checker → · Palette generator →

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