#122365#122365

#122365 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.118 H 267.2°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#122365
RGBrgb(18, 35, 101)
HSLhsl(228, 70%, 23%)
HSVhsv(228, 82%, 40%)
CMYKcmyk(82.2%, 65.3%, 0%, 60.4%)
CIE-LABlab(16.84, 19.86, -40.78)
CIE-LCHlch(16.84, 45.36, 295.96°)
OKLaboklab(29.08% -0.0057 -0.1179)
OKLCHoklch(29.08% 0.118 267.2)
XYZxyz(3.1986, 2.2699, 12.5789)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122365 #655412
analogous
#124C65 #122365 #2A1265
triadic
#122365 #651223 #236512
tetradic
#122365 #65124C #655412 #12652A
square
#122365 #65124C #655412 #12652A
split-complementary
#122365 #652A12 #4C6512
monochromatic
#05091A #091131 #122365 #1B3599 #2547CD

Accessibility & contrast

On white

14.44
#122365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122365
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122365#FFFFFF#000000##FFFFFF
##1223651.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122365;
/* rgb */ color: rgb(18, 35, 101);
/* oklch */ color: oklch(29.1% 0.118 267.2);
Tailwind
colors: {
  custom: {
    50: '#5f5d92',
    500: '#122365',
    950: '#000000',
  },
}
SCSS
$custom: #122365;
$custom-light: #5f5d92;
$custom-dark: #000000;
JSON
{
  "hex": "#122365",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 101
  },
  "hsl": {
    "h": 227.711,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29075,
    "c": 0.11804,
    "h": 267.2
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#122365
secondary
#9D8836
accent
#C83BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122365

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

Preview Lab → · Contrast checker → · Palette generator →

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