#122768#122768

#122768 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.117 H 265.8°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#122768
RGBrgb(18, 39, 104)
HSLhsl(225, 70%, 24%)
HSVhsv(225, 83%, 41%)
CMYKcmyk(82.7%, 62.5%, 0%, 59.2%)
CIE-LABlab(18.27, 18.20, -40.42)
CIE-LCHlch(18.27, 44.32, 294.24°)
OKLaboklab(30.22% -0.0085 -0.1168)
OKLCHoklch(30.22% 0.117 265.8)
XYZxyz(3.4728, 2.5787, 13.4087)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122768 #685312
analogous
#125268 #122768 #281268
triadic
#122768 #681227 #276812
tetradic
#122768 #681252 #685312 #126828
square
#122768 #681252 #685312 #126828
split-complementary
#122768 #682812 #526812
monochromatic
#050A1A #091334 #122768 #1B3B9C #244ED0

Accessibility & contrast

On white

13.85
#122768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#122768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122768
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122768#FFFFFF#000000##FFFFFF
##1227681.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122768;
/* rgb */ color: rgb(18, 39, 104);
/* oklch */ color: oklch(30.2% 0.117 265.8);
Tailwind
colors: {
  custom: {
    50: '#606094',
    500: '#122768',
    950: '#000000',
  },
}
SCSS
$custom: #122768;
$custom-light: #606094;
$custom-dark: #000000;
JSON
{
  "hex": "#122768",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 225.349,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30223,
    "c": 0.11709,
    "h": 265.8
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#122768
secondary
#A08636
accent
#C23BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122768

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

Preview Lab → · Contrast checker → · Palette generator →

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