#1B265E#1B265E

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

Color values

HEX#1B265E
RGBrgb(27, 38, 94)
HSLhsl(230, 55%, 24%)
HSVhsv(230, 71%, 37%)
CMYKcmyk(71.3%, 59.6%, 0%, 63.1%)
CIE-LABlab(17.59, 16.09, -34.93)
CIE-LCHlch(17.59, 38.46, 294.74°)
OKLaboklab(29.57% 0.0011 -0.1005)
OKLCHoklch(29.57% 0.1 270.6)
XYZxyz(3.1648, 2.4271, 10.8892)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B265E #5E531B
analogous
#1B475E #1B265E #311B5E
triadic
#1B265E #5E1B26 #265E1B
tetradic
#1B265E #5E1B47 #5E531B #1B5E31
square
#1B265E #5E1B47 #5E531B #1B5E31
split-complementary
#1B265E #5E311B #475E1B
monochromatic
#070A18 #0D132E #1B265E #29398E #364CBD

Accessibility & contrast

On white

14.14
#1B265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1B265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B265E
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B265E#FFFFFF#000000##FFFFFF
##1B265E1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b265e;
/* rgb */ color: rgb(27, 38, 94);
/* oklch */ color: oklch(29.6% 0.100 270.6);
Tailwind
colors: {
  custom: {
    50: '#61608c',
    500: '#1b265e',
    950: '#000000',
  },
}
SCSS
$custom: #1b265e;
$custom-light: #61608c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b265e",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 230.149,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29568,
    "c": 0.10047,
    "h": 270.6
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#1B265E
secondary
#948641
accent
#C649DF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1B265E

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

Preview Lab → · Contrast checker → · Palette generator →

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