#122363#122363

#122363 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.115 H 267.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#122363
RGBrgb(18, 35, 99)
HSLhsl(227, 69%, 23%)
HSVhsv(227, 82%, 39%)
CMYKcmyk(81.8%, 64.6%, 0%, 61.2%)
CIE-LABlab(16.66, 19.02, -39.77)
CIE-LCHlch(16.66, 44.08, 295.56°)
OKLaboklab(28.88% -0.0057 -0.1149)
OKLCHoklch(28.88% 0.115 267.2)
XYZxyz(3.1018, 2.2312, 12.0691)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122363 #635212
analogous
#124C63 #122363 #291263
triadic
#122363 #631223 #236312
tetradic
#122363 #63124C #635212 #126329
square
#122363 #63124C #635212 #126329
split-complementary
#122363 #632912 #4C6312
monochromatic
#05091A #09112F #122363 #1B3597 #2548CB

Accessibility & contrast

On white

14.52
#122363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122363
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122363#FFFFFF#000000##FFFFFF
##1223631.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122363;
/* rgb */ color: rgb(18, 35, 99);
/* oklch */ color: oklch(28.9% 0.115 267.2);
Tailwind
colors: {
  custom: {
    50: '#5f5d90',
    500: '#122363',
    950: '#000000',
  },
}
SCSS
$custom: #122363;
$custom-light: #5f5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#122363",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 99
  },
  "hsl": {
    "h": 227.407,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28878,
    "c": 0.11508,
    "h": 267.2
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#122363
secondary
#9B8636
accent
#C73CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122363

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

Preview Lab → · Contrast checker → · Palette generator →

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