#1B2263#1B2263

#1B2263 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.114 H 272.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1B2263
RGBrgb(27, 34, 99)
HSLhsl(234, 57%, 25%)
HSVhsv(234, 73%, 39%)
CMYKcmyk(72.7%, 65.7%, 0%, 61.2%)
CIE-LABlab(16.88, 20.98, -39.38)
CIE-LCHlch(16.88, 44.62, 298.05°)
OKLaboklab(29.18% 0.0049 -0.1136)
OKLCHoklch(29.18% 0.114 272.5)
XYZxyz(3.2754, 2.2776, 12.0690)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2263 #635C1B
analogous
#1B4663 #1B2263 #381B63
triadic
#1B2263 #631B22 #22631B
tetradic
#1B2263 #631B46 #635C1B #1B6338
square
#1B2263 #631B46 #635C1B #1B6338
split-complementary
#1B2263 #63381B #46631B
monochromatic
#070818 #0E1133 #1B2263 #283393 #3543C3

Accessibility & contrast

On white

14.43
#1B2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2263
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2263#FFFFFF#000000##FFFFFF
##1B22631.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b2263;
/* rgb */ color: rgb(27, 34, 99);
/* oklch */ color: oklch(29.2% 0.114 272.5);
Tailwind
colors: {
  custom: {
    50: '#625d90',
    500: '#1b2263',
    950: '#000000',
  },
}
SCSS
$custom: #1b2263;
$custom-light: #625d90;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2263",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 234.167,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29182,
    "c": 0.1137,
    "h": 272.5
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#1B2263
secondary
#989041
accent
#D247E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1B2263

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

Preview Lab → · Contrast checker → · Palette generator →

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