#122767#122767

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

Color values

HEX#122767
RGBrgb(18, 39, 103)
HSLhsl(225, 70%, 24%)
HSVhsv(225, 83%, 40%)
CMYKcmyk(82.5%, 62.1%, 0%, 59.6%)
CIE-LABlab(18.18, 17.77, -39.91)
CIE-LCHlch(18.18, 43.69, 294.01°)
OKLaboklab(30.13% -0.0085 -0.1153)
OKLCHoklch(30.13% 0.116 265.8)
XYZxyz(3.4223, 2.5585, 13.1428)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122767 #675212
analogous
#125167 #122767 #271267
triadic
#122767 #671227 #276712
tetradic
#122767 #671251 #675212 #126727
square
#122767 #671251 #675212 #126727
split-complementary
#122767 #672712 #516712
monochromatic
#050A1A #091333 #122767 #1B3B9B #244ECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##122767#FFFFFF#000000##FFFFFF
##1227671.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)
#003069
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122767;
/* rgb */ color: rgb(18, 39, 103);
/* oklch */ color: oklch(30.1% 0.116 265.8);
Tailwind
colors: {
  custom: {
    50: '#606093',
    500: '#122767',
    950: '#000000',
  },
}
SCSS
$custom: #122767;
$custom-light: #606093;
$custom-dark: #000000;
JSON
{
  "hex": "#122767",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 225.176,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30128,
    "c": 0.1156,
    "h": 265.8
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#122767
secondary
#9F8536
accent
#C13BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122767

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

Preview Lab → · Contrast checker → · Palette generator →

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