#1B2265#1B2265

#1B2265 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.4% C 0.117 H 272.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#1B2265
RGBrgb(27, 34, 101)
HSLhsl(234, 58%, 25%)
HSVhsv(234, 73%, 40%)
CMYKcmyk(73.3%, 66.3%, 0%, 60.4%)
CIE-LABlab(17.07, 21.77, -40.40)
CIE-LCHlch(17.07, 45.89, 298.32°)
OKLaboklab(29.38% 0.0048 -0.1166)
OKLCHoklch(29.38% 0.117 272.4)
XYZxyz(3.3722, 2.3163, 12.5788)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2265 #655E1B
analogous
#1B4765 #1B2265 #391B65
triadic
#1B2265 #651B22 #22651B
tetradic
#1B2265 #651B47 #655E1B #1B6539
square
#1B2265 #651B47 #655E1B #1B6539
split-complementary
#1B2265 #65391B #47651B
monochromatic
#060818 #0E1235 #1B2265 #283295 #3543C6

Accessibility & contrast

On white

14.35
#1B2265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1B2265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2265
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2265#FFFFFF#000000##FFFFFF
##1B22651.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2265;
/* rgb */ color: rgb(27, 34, 101);
/* oklch */ color: oklch(29.4% 0.117 272.4);
Tailwind
colors: {
  custom: {
    50: '#635d92',
    500: '#1b2265',
    950: '#000000',
  },
}
SCSS
$custom: #1b2265;
$custom-light: #635d92;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2265",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 234.324,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29376,
    "c": 0.11667,
    "h": 272.4
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#1B2265
secondary
#9A9241
accent
#D247E1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1B2265

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

Preview Lab → · Contrast checker → · Palette generator →

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