#1B225D#1B225D

#1B225D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.105 H 272.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#1B225D
RGBrgb(27, 34, 93)
HSLhsl(234, 55%, 24%)
HSVhsv(234, 71%, 36%)
CMYKcmyk(71%, 63.4%, 0%, 63.5%)
CIE-LABlab(16.34, 18.60, -36.29)
CIE-LCHlch(16.34, 40.77, 297.14°)
OKLaboklab(28.61% 0.005 -0.1045)
OKLCHoklch(28.61% 0.105 272.8)
XYZxyz(2.9991, 2.1671, 10.6140)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B225D #5D561B
analogous
#1B435D #1B225D #351B5D
triadic
#1B225D #5D1B22 #225D1B
tetradic
#1B225D #5D1B43 #5D561B #1B5D35
square
#1B225D #5D1B43 #5D561B #1B5D35
split-complementary
#1B225D #5D351B #435D1B
monochromatic
#070918 #0D112E #1B225D #29338C #3745BC

Accessibility & contrast

On white

14.65
#1B225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1B225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B225D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B225D#FFFFFF#000000##FFFFFF
##1B225D1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b225d;
/* rgb */ color: rgb(27, 34, 93);
/* oklch */ color: oklch(28.6% 0.105 272.8);
Tailwind
colors: {
  custom: {
    50: '#615c8b',
    500: '#1b225d',
    950: '#000000',
  },
}
SCSS
$custom: #1b225d;
$custom-light: #615c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b225d",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 233.636,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28613,
    "c": 0.10463,
    "h": 272.8
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#1B225D
secondary
#938A41
accent
#CF49DE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1B225D

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

Preview Lab → · Contrast checker → · Palette generator →

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