#122265#122265

#122265 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.119 H 267.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#122265
RGBrgb(18, 34, 101)
HSLhsl(228, 70%, 23%)
HSVhsv(228, 82%, 40%)
CMYKcmyk(82.2%, 66.3%, 0%, 60.4%)
CIE-LABlab(16.56, 20.58, -41.24)
CIE-LCHlch(16.56, 46.09, 296.52°)
OKLaboklab(28.87% -0.005 -0.1193)
OKLCHoklch(28.87% 0.119 267.6)
XYZxyz(3.1696, 2.2119, 12.5693)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122265 #655512
analogous
#124B65 #122265 #2B1265
triadic
#122265 #651222 #226512
tetradic
#122265 #65124B #655512 #12652B
square
#122265 #65124B #655512 #12652B
split-complementary
#122265 #652B12 #4B6512
monochromatic
#05091A #091131 #122265 #1B3399 #2545CD

Accessibility & contrast

On white

14.56
#122265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#122265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122265
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122265#FFFFFF#000000##FFFFFF
##1222651.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122265;
/* rgb */ color: rgb(18, 34, 101);
/* oklch */ color: oklch(28.9% 0.119 267.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c92',
    500: '#122265',
    950: '#000000',
  },
}
SCSS
$custom: #122265;
$custom-light: #5f5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#122265",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 228.434,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28866,
    "c": 0.11937,
    "h": 267.6
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#122265
secondary
#9D8936
accent
#CA3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122265

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

Preview Lab → · Contrast checker → · Palette generator →

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