#122547#122547

#122547 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.068 H 261.1°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#122547
RGBrgb(18, 37, 71)
HSLhsl(218, 60%, 17%)
HSVhsv(218, 75%, 28%)
CMYKcmyk(74.6%, 47.9%, 0%, 72.2%)
CIE-LABlab(14.99, 5.56, -23.60)
CIE-LCHlch(14.99, 24.24, 283.26°)
OKLaboklab(26.89% -0.0106 -0.0674)
OKLCHoklch(26.89% 0.068 261.1)
XYZxyz(2.0479, 1.9065, 6.2201)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122547 #473412
analogous
#123F47 #122547 #1A1247
triadic
#122547 #471225 #254712
tetradic
#122547 #47123F #473412 #12471A
square
#122547 #47123F #473412 #12471A
split-complementary
#122547 #471A12 #3F4712
monochromatic
#060D18 #060D18 #122547 #1E3E78 #2B58A9

Accessibility & contrast

On white

15.20
#122547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#122547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122547
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122547#FFFFFF#000000##FFFFFF
##1225471.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152848
Deuteranopia (green-blind)
#0C2346
Tritanopia (blue-blind)
#002D32
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122547;
/* rgb */ color: rgb(18, 37, 71);
/* oklch */ color: oklch(26.9% 0.068 261.1);
Tailwind
colors: {
  custom: {
    50: '#575f7a',
    500: '#122547',
    950: '#000000',
  },
}
SCSS
$custom: #122547;
$custom-light: #575f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#122547",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 71
  },
  "hsl": {
    "h": 218.491,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2689,
    "c": 0.06819,
    "h": 261.1
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#122547
secondary
#806535
accent
#AA45E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122547

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

Preview Lab → · Contrast checker → · Palette generator →

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