#1B265D#1B265D

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

Color values

HEX#1B265D
RGBrgb(27, 38, 93)
HSLhsl(230, 55%, 24%)
HSVhsv(230, 71%, 36%)
CMYKcmyk(71%, 59.1%, 0%, 63.5%)
CIE-LABlab(17.50, 15.69, -34.40)
CIE-LCHlch(17.50, 37.81, 294.51°)
OKLaboklab(29.48% 0.0011 -0.0989)
OKLCHoklch(29.48% 0.099 270.6)
XYZxyz(3.1202, 2.4093, 10.6544)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B265D #5D521B
analogous
#1B475D #1B265D #311B5D
triadic
#1B265D #5D1B26 #265D1B
tetradic
#1B265D #5D1B47 #5D521B #1B5D31
square
#1B265D #5D1B47 #5D521B #1B5D31
split-complementary
#1B265D #5D311B #475D1B
monochromatic
#070A18 #0D132E #1B265D #29398C #374DBC

Accessibility & contrast

On white

14.17
#1B265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B265D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B265D#FFFFFF#000000##FFFFFF
##1B265D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b265d;
/* rgb */ color: rgb(27, 38, 93);
/* oklch */ color: oklch(29.5% 0.099 270.6);
Tailwind
colors: {
  custom: {
    50: '#60608b',
    500: '#1b265d',
    950: '#000000',
  },
}
SCSS
$custom: #1b265d;
$custom-light: #60608b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b265d",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 230,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.2948,
    "c": 0.09892,
    "h": 270.6
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#1B265D
secondary
#938541
accent
#C649DE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1B265D

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

Preview Lab → · Contrast checker → · Palette generator →

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