#122368#122368

#122368 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.122 H 267.3°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#122368
RGBrgb(18, 35, 104)
HSLhsl(228, 70%, 24%)
HSVhsv(228, 83%, 41%)
CMYKcmyk(82.7%, 66.3%, 0%, 59.2%)
CIE-LABlab(17.13, 21.10, -42.28)
CIE-LCHlch(17.13, 47.25, 296.53°)
OKLaboklab(29.38% -0.0057 -0.1223)
OKLCHoklch(29.38% 0.122 267.3)
XYZxyz(3.3483, 2.3298, 13.3672)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122368 #685712
analogous
#124E68 #122368 #2C1268
triadic
#122368 #681223 #236812
tetradic
#122368 #68124E #685712 #12682C
square
#122368 #68124E #685712 #12682C
split-complementary
#122368 #682C12 #4E6812
monochromatic
#05091A #091134 #122368 #1B359C #2446D0

Accessibility & contrast

On white

14.32
#122368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122368
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122368#FFFFFF#000000##FFFFFF
##1223681.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122368;
/* rgb */ color: rgb(18, 35, 104);
/* oklch */ color: oklch(29.4% 0.122 267.3);
Tailwind
colors: {
  custom: {
    50: '#605d94',
    500: '#122368',
    950: '#000000',
  },
}
SCSS
$custom: #122368;
$custom-light: #605d94;
$custom-dark: #000000;
JSON
{
  "hex": "#122368",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 228.14,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29375,
    "c": 0.12243,
    "h": 267.3
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#122368
secondary
#A08B36
accent
#CA3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #122368

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

Preview Lab → · Contrast checker → · Palette generator →

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