#1B265A#1B265A

#1B265A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.094 H 270.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#1B265A
RGBrgb(27, 38, 90)
HSLhsl(230, 54%, 23%)
HSVhsv(230, 70%, 35%)
CMYKcmyk(70%, 57.8%, 0%, 64.7%)
CIE-LABlab(17.26, 14.47, -32.79)
CIE-LCHlch(17.26, 35.85, 293.82°)
OKLaboklab(29.22% 0.0009 -0.0942)
OKLCHoklch(29.22% 0.094 270.5)
XYZxyz(2.9899, 2.3572, 9.9683)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B265A #5A4F1B
analogous
#1B455A #1B265A #2F1B5A
triadic
#1B265A #5A1B26 #265A1B
tetradic
#1B265A #5A1B45 #5A4F1B #1B5A2F
square
#1B265A #5A1B45 #5A4F1B #1B5A2F
split-complementary
#1B265A #5A2F1B #455A1B
monochromatic
#070A18 #0D122B #1B265A #293A89 #374EB8

Accessibility & contrast

On white

14.27
#1B265A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1B265A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B265A
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B265A#FFFFFF#000000##FFFFFF
##1B265A1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042D5C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b265a;
/* rgb */ color: rgb(27, 38, 90);
/* oklch */ color: oklch(29.2% 0.094 270.5);
Tailwind
colors: {
  custom: {
    50: '#606089',
    500: '#1b265a',
    950: '#000000',
  },
}
SCSS
$custom: #1b265a;
$custom-light: #606089;
$custom-dark: #000000;
JSON
{
  "hex": "#1b265a",
  "rgb": {
    "r": 27,
    "g": 38,
    "b": 90
  },
  "hsl": {
    "h": 229.524,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2922,
    "c": 0.09419,
    "h": 270.5
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#1B265A
secondary
#908241
accent
#C44BDD
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #1B265A

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

Preview Lab → · Contrast checker → · Palette generator →

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