#122145#122145

#122145 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.071 H 264.9°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#122145
RGBrgb(18, 33, 69)
HSLhsl(222, 59%, 17%)
HSVhsv(222, 74%, 27%)
CMYKcmyk(73.9%, 52.2%, 0%, 72.9%)
CIE-LABlab(13.51, 7.73, -24.59)
CIE-LCHlch(13.51, 25.77, 287.45°)
OKLaboklab(25.7% -0.0063 -0.0703)
OKLCHoklch(25.7% 0.071 264.9)
XYZxyz(1.8671, 1.6458, 5.8483)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122145 #453612
analogous
#123B45 #122145 #1D1245
triadic
#122145 #451221 #214512
tetradic
#122145 #45123B #453612 #12451D
square
#122145 #45123B #453612 #12451D
split-complementary
#122145 #451D12 #3B4512
monochromatic
#060C18 #060C18 #122145 #1F3876 #2B4FA6

Accessibility & contrast

On white

15.80
#122145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#122145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122145
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122145#FFFFFF#000000##FFFFFF
##1221451.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2546
Deuteranopia (green-blind)
#062044
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122145;
/* rgb */ color: rgb(18, 33, 69);
/* oklch */ color: oklch(25.7% 0.071 264.9);
Tailwind
colors: {
  custom: {
    50: '#575b79',
    500: '#122145',
    950: '#000000',
  },
}
SCSS
$custom: #122145;
$custom-light: #575b79;
$custom-dark: #000000;
JSON
{
  "hex": "#122145",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 222.353,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25704,
    "c": 0.07063,
    "h": 264.9
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#122145
secondary
#7E6935
accent
#B446E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122145

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

Preview Lab → · Contrast checker → · Palette generator →

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