#1B268A#1B268A

#1B268A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.163 H 269.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#1B268A
RGBrgb(27, 38, 138)
HSLhsl(234, 67%, 32%)
HSVhsv(234, 80%, 54%)
CMYKcmyk(80.4%, 72.5%, 0%, 45.9%)
CIE-LABlab(21.78, 33.24, -56.36)
CIE-LCHlch(21.78, 65.43, 300.53°)
OKLaboklab(33.93% -0.0011 -0.1632)
OKLCHoklch(33.93% 0.163 269.6)
XYZxyz(5.7310, 3.4536, 24.4044)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B268A #8A7F1B
analogous
#1B5E8A #1B268A #471B8A
triadic
#1B268A #8A1B26 #268A1B
tetradic
#1B268A #8A1B5E #8A7F1B #1B8A47
square
#1B268A #8A1B5E #8A7F1B #1B8A47
split-complementary
#1B268A #8A471B #5E8A1B
monochromatic
#070A24 #111857 #1B268A #2534BD #4554DB

Accessibility & contrast

On white

12.42
#1B268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B268A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B268A#FFFFFF#000000##FFFFFF
##1B268A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b268a;
/* rgb */ color: rgb(27, 38, 138);
/* oklch */ color: oklch(33.9% 0.163 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c61ad',
    500: '#1b268a',
    950: '#000000',
  },
}
SCSS
$custom: #1b268a;
$custom-light: #6c61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1b268a",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 234.054,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33929,
    "c": 0.16322,
    "h": 269.6
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#1B268A
secondary
#BCB045
accent
#D93EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1B268A

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

Preview Lab → · Contrast checker → · Palette generator →

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