#122760#122760

#122760 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.105 H 265.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#122760
RGBrgb(18, 39, 96)
HSLhsl(224, 68%, 22%)
HSVhsv(224, 81%, 38%)
CMYKcmyk(81.3%, 59.4%, 0%, 62.4%)
CIE-LABlab(17.57, 14.80, -36.30)
CIE-LCHlch(17.57, 39.20, 292.18°)
OKLaboklab(29.48% -0.0089 -0.1047)
OKLCHoklch(29.48% 0.105 265.1)
XYZxyz(3.0855, 2.4238, 11.3693)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122760 #604B12
analogous
#124E60 #122760 #241260
triadic
#122760 #601227 #276012
tetradic
#122760 #60124E #604B12 #126024
square
#122760 #60124E #604B12 #126024
split-complementary
#122760 #602412 #4E6012
monochromatic
#050A1A #08122C #122760 #1C3C94 #2551C7

Accessibility & contrast

On white

14.14
#122760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122760
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122760#FFFFFF#000000##FFFFFF
##1227601.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122760;
/* rgb */ color: rgb(18, 39, 96);
/* oklch */ color: oklch(29.5% 0.105 265.1);
Tailwind
colors: {
  custom: {
    50: '#5e608e',
    500: '#122760',
    950: '#000000',
  },
}
SCSS
$custom: #122760;
$custom-light: #5e608e;
$custom-dark: #000000;
JSON
{
  "hex": "#122760",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 96
  },
  "hsl": {
    "h": 223.846,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29478,
    "c": 0.10507,
    "h": 265.1
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#122760
secondary
#987E36
accent
#BC3DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122760

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

Preview Lab → · Contrast checker → · Palette generator →

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