#1B2264#1B2264

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

Color values

HEX#1B2264
RGBrgb(27, 34, 100)
HSLhsl(234, 57%, 25%)
HSVhsv(234, 73%, 39%)
CMYKcmyk(73%, 66%, 0%, 60.8%)
CIE-LABlab(16.97, 21.37, -39.89)
CIE-LCHlch(16.97, 45.25, 298.18°)
OKLaboklab(29.28% 0.0048 -0.1151)
OKLCHoklch(29.28% 0.115 272.4)
XYZxyz(3.3235, 2.2969, 12.3223)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2264 #645D1B
analogous
#1B4664 #1B2264 #391B64
triadic
#1B2264 #641B22 #22641B
tetradic
#1B2264 #641B46 #645D1B #1B6439
square
#1B2264 #641B46 #645D1B #1B6439
split-complementary
#1B2264 #64391B #46641B
monochromatic
#070818 #0E1234 #1B2264 #283294 #3543C4

Accessibility & contrast

On white

14.39
#1B2264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2264
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2264#FFFFFF#000000##FFFFFF
##1B22641.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2264;
/* rgb */ color: rgb(27, 34, 100);
/* oklch */ color: oklch(29.3% 0.115 272.4);
Tailwind
colors: {
  custom: {
    50: '#625d91',
    500: '#1b2264',
    950: '#000000',
  },
}
SCSS
$custom: #1b2264;
$custom-light: #625d91;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2264",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 234.247,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29278,
    "c": 0.11519,
    "h": 272.4
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#1B2264
secondary
#999141
accent
#D247E1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1B2264

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

Preview Lab → · Contrast checker → · Palette generator →

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