#122668#122668

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

Color values

HEX#122668
RGBrgb(18, 38, 104)
HSLhsl(226, 70%, 24%)
HSVhsv(226, 83%, 41%)
CMYKcmyk(82.7%, 63.5%, 0%, 59.2%)
CIE-LABlab(17.98, 18.93, -40.89)
CIE-LCHlch(17.98, 45.06, 294.84°)
OKLaboklab(30.01% -0.0078 -0.1182)
OKLCHoklch(30.01% 0.118 266.2)
XYZxyz(3.4404, 2.5139, 13.3979)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122668 #685412
analogous
#125168 #122668 #291268
triadic
#122668 #681226 #266812
tetradic
#122668 #681251 #685412 #126829
square
#122668 #681251 #685412 #126829
split-complementary
#122668 #682912 #516812
monochromatic
#050A1A #091334 #122668 #1B399C #244CD0

Accessibility & contrast

On white

13.97
#122668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122668
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122668#FFFFFF#000000##FFFFFF
##1226681.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122668;
/* rgb */ color: rgb(18, 38, 104);
/* oklch */ color: oklch(30.0% 0.118 266.2);
Tailwind
colors: {
  custom: {
    50: '#605f94',
    500: '#122668',
    950: '#000000',
  },
}
SCSS
$custom: #122668;
$custom-light: #605f94;
$custom-dark: #000000;
JSON
{
  "hex": "#122668",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 104
  },
  "hsl": {
    "h": 226.047,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30007,
    "c": 0.11843,
    "h": 266.2
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#122668
secondary
#A08736
accent
#C43BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122668

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

Preview Lab → · Contrast checker → · Palette generator →

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