#122367#122367

#122367 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.121 H 267.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#122367
RGBrgb(18, 35, 103)
HSLhsl(228, 70%, 24%)
HSVhsv(228, 83%, 40%)
CMYKcmyk(82.5%, 66%, 0%, 59.6%)
CIE-LABlab(17.03, 20.69, -41.78)
CIE-LCHlch(17.03, 46.62, 296.34°)
OKLaboklab(29.28% -0.0057 -0.1208)
OKLCHoklch(29.28% 0.121 267.3)
XYZxyz(3.2978, 2.3096, 13.1013)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122367 #675612
analogous
#124D67 #122367 #2B1267
triadic
#122367 #671223 #236712
tetradic
#122367 #67124D #675612 #12672B
square
#122367 #67124D #675612 #12672B
split-complementary
#122367 #672B12 #4D6712
monochromatic
#05091A #091133 #122367 #1B359B #2446CF

Accessibility & contrast

On white

14.36
#122367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#122367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122367
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122367#FFFFFF#000000##FFFFFF
##1223671.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122367;
/* rgb */ color: rgb(18, 35, 103);
/* oklch */ color: oklch(29.3% 0.121 267.3);
Tailwind
colors: {
  custom: {
    50: '#605d93',
    500: '#122367',
    950: '#000000',
  },
}
SCSS
$custom: #122367;
$custom-light: #605d93;
$custom-dark: #000000;
JSON
{
  "hex": "#122367",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 103
  },
  "hsl": {
    "h": 228,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29275,
    "c": 0.12097,
    "h": 267.3
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#122367
secondary
#9F8A36
accent
#C93BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122367

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

Preview Lab → · Contrast checker → · Palette generator →

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