#122863#122863

#122863 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.108 H 265.0°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#122863
RGBrgb(18, 40, 99)
HSLhsl(224, 69%, 23%)
HSVhsv(224, 82%, 39%)
CMYKcmyk(81.8%, 59.6%, 0%, 61.2%)
CIE-LABlab(18.13, 15.34, -37.37)
CIE-LCHlch(18.13, 40.40, 292.32°)
OKLaboklab(29.98% -0.0095 -0.1078)
OKLCHoklch(29.98% 0.108 265)
XYZxyz(3.2596, 2.5467, 12.1217)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122863 #634D12
analogous
#125063 #122863 #251263
triadic
#122863 #631228 #286312
tetradic
#122863 #631250 #634D12 #126325
square
#122863 #631250 #634D12 #126325
split-complementary
#122863 #632512 #506312
monochromatic
#050A1A #09132F #122863 #1B3D97 #2552CB

Accessibility & contrast

On white

13.91
#122863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#122863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122863
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122863#FFFFFF#000000##FFFFFF
##1228631.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122863;
/* rgb */ color: rgb(18, 40, 99);
/* oklch */ color: oklch(30.0% 0.108 265.0);
Tailwind
colors: {
  custom: {
    50: '#5e6190',
    500: '#122863',
    950: '#000000',
  },
}
SCSS
$custom: #122863;
$custom-light: #5e6190;
$custom-dark: #000000;
JSON
{
  "hex": "#122863",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 223.704,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29979,
    "c": 0.10824,
    "h": 265
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#122863
secondary
#9B8036
accent
#BC3CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122863

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

Preview Lab → · Contrast checker → · Palette generator →

#122863 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva