#122960#122960

#122960 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.102 H 264.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#122960
RGBrgb(18, 41, 96)
HSLhsl(222, 68%, 22%)
HSVhsv(222, 81%, 38%)
CMYKcmyk(81.3%, 57.3%, 0%, 62.4%)
CIE-LABlab(18.18, 13.32, -35.31)
CIE-LCHlch(18.18, 37.74, 290.67°)
OKLaboklab(29.94% -0.0106 -0.1017)
OKLCHoklch(29.94% 0.102 264.1)
XYZxyz(3.1530, 2.5586, 11.3918)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122960 #604912
analogous
#125060 #122960 #221260
triadic
#122960 #601229 #296012
tetradic
#122960 #601250 #604912 #126022
square
#122960 #601250 #604912 #126022
split-complementary
#122960 #602212 #506012
monochromatic
#050B1A #08132C #122960 #1C3F94 #2555C7

Accessibility & contrast

On white

13.89
#122960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122960
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122960#FFFFFF#000000##FFFFFF
##1229601.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013062
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122960;
/* rgb */ color: rgb(18, 41, 96);
/* oklch */ color: oklch(29.9% 0.102 264.1);
Tailwind
colors: {
  custom: {
    50: '#5d628e',
    500: '#122960',
    950: '#000000',
  },
}
SCSS
$custom: #122960;
$custom-light: #5d628e;
$custom-dark: #000000;
JSON
{
  "hex": "#122960",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 96
  },
  "hsl": {
    "h": 222.308,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2994,
    "c": 0.10228,
    "h": 264.1
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#122960
secondary
#987B36
accent
#B83DEB
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122960

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

Preview Lab → · Contrast checker → · Palette generator →

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