#122765#122765

#122765 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.113 H 265.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#122765
RGBrgb(18, 39, 101)
HSLhsl(225, 70%, 23%)
HSVhsv(225, 82%, 40%)
CMYKcmyk(82.2%, 61.4%, 0%, 60.4%)
CIE-LABlab(18.00, 16.93, -38.89)
CIE-LCHlch(18.00, 42.41, 293.52°)
OKLaboklab(29.94% -0.0086 -0.1123)
OKLCHoklch(29.94% 0.113 265.6)
XYZxyz(3.3231, 2.5188, 12.6204)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122765 #655012
analogous
#125065 #122765 #261265
triadic
#122765 #651227 #276512
tetradic
#122765 #651250 #655012 #126526
square
#122765 #651250 #655012 #126526
split-complementary
#122765 #652612 #506512
monochromatic
#050A1A #091331 #122765 #1B3B99 #254FCD

Accessibility & contrast

On white

13.96
#122765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122765
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122765#FFFFFF#000000##FFFFFF
##1227651.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122765;
/* rgb */ color: rgb(18, 39, 101);
/* oklch */ color: oklch(29.9% 0.113 265.6);
Tailwind
colors: {
  custom: {
    50: '#5f6091',
    500: '#122765',
    950: '#000000',
  },
}
SCSS
$custom: #122765;
$custom-light: #5f6091;
$custom-dark: #000000;
JSON
{
  "hex": "#122765",
  "rgb": {
    "r": 18,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 224.819,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2994,
    "c": 0.11262,
    "h": 265.6
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#122765
secondary
#9D8336
accent
#C03BED
background
#F5F5F9
surface
#EAE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122765

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

Preview Lab → · Contrast checker → · Palette generator →

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