#1B265B#1B265B

#1B265B is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.096 H 270.6°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#1B265B
RGBrgb(27, 38, 91)
HSLhsl(230, 54%, 23%)
HSVhsv(230, 70%, 36%)
CMYKcmyk(70.3%, 58.2%, 0%, 64.3%)
CIE-LABlab(17.34, 14.88, -33.33)
CIE-LCHlch(17.34, 36.50, 294.06°)
OKLaboklab(29.31% 0.001 -0.0958)
OKLCHoklch(29.31% 0.096 270.6)
XYZxyz(3.0328, 2.3743, 10.1940)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B265B #5B501B
analogous
#1B465B #1B265B #301B5B
triadic
#1B265B #5B1B26 #265B1B
tetradic
#1B265B #5B1B46 #5B501B #1B5B30
square
#1B265B #5B1B46 #5B501B #1B5B30
split-complementary
#1B265B #5B301B #465B1B
monochromatic
#070A18 #0D122C #1B265B #293A8A #374DB9

Accessibility & contrast

On white

14.24
#1B265B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1B265B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B265B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B265B#FFFFFF#000000##FFFFFF
##1B265B1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b265b;
/* rgb */ color: rgb(27, 38, 91);
/* oklch */ color: oklch(29.3% 0.096 270.6);
Tailwind
colors: {
  custom: {
    50: '#60608a',
    500: '#1b265b',
    950: '#000000',
  },
}
SCSS
$custom: #1b265b;
$custom-light: #60608a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b265b",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 229.688,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29306,
    "c": 0.09577,
    "h": 270.6
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#1B265B
secondary
#918341
accent
#C44ADE
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #1B265B

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

Preview Lab → · Contrast checker → · Palette generator →

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