#122645#122645

#122645 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.064 H 258.9°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#122645
RGBrgb(18, 38, 69)
HSLhsl(216, 59%, 17%)
HSVhsv(216, 74%, 27%)
CMYKcmyk(73.9%, 44.9%, 0%, 72.9%)
CIE-LABlab(15.19, 3.97, -21.89)
CIE-LCHlch(15.19, 22.25, 280.27°)
OKLaboklab(27% -0.0122 -0.0623)
OKLCHoklch(27% 0.064 258.9)
XYZxyz(2.0164, 1.9443, 5.8981)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122645 #453112
analogous
#124045 #122645 #181245
triadic
#122645 #451226 #264512
tetradic
#122645 #451240 #453112 #124518
square
#122645 #451240 #453112 #124518
split-complementary
#122645 #451812 #404512
monochromatic
#060D18 #060D18 #122645 #1F4176 #2B5BA6

Accessibility & contrast

On white

15.12
#122645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122645 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122645
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122645#FFFFFF#000000##FFFFFF
##1226451.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182946
Deuteranopia (green-blind)
#102444
Tritanopia (blue-blind)
#002D32
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122645;
/* rgb */ color: rgb(18, 38, 69);
/* oklch */ color: oklch(27.0% 0.064 258.9);
Tailwind
colors: {
  custom: {
    50: '#565f79',
    500: '#122645',
    950: '#000000',
  },
}
SCSS
$custom: #122645;
$custom-light: #565f79;
$custom-dark: #000000;
JSON
{
  "hex": "#122645",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 69
  },
  "hsl": {
    "h": 216.471,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27003,
    "c": 0.06354,
    "h": 258.9
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#122645
secondary
#7E6135
accent
#A546E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122645

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

Preview Lab → · Contrast checker → · Palette generator →

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