#122B5C#122B5C

#122B5C is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.093 H 262.1°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#122B5C
RGBrgb(18, 43, 92)
HSLhsl(220, 67%, 22%)
HSVhsv(220, 80%, 36%)
CMYKcmyk(80.4%, 53.3%, 0%, 63.9%)
CIE-LABlab(18.49, 10.12, -32.16)
CIE-LCHlch(18.49, 33.72, 287.47°)
OKLaboklab(30.08% -0.0129 -0.0924)
OKLCHoklch(30.08% 0.093 262.1)
XYZxyz(3.0444, 2.6287, 10.4701)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B5C #5C4312
analogous
#12505C #122B5C #1E125C
triadic
#122B5C #5C122B #2B5C12
tetradic
#122B5C #5C1250 #5C4312 #125C1E
square
#122B5C #5C1250 #5C4312 #125C1E
split-complementary
#122B5C #5C1E12 #505C12
monochromatic
#050C1A #081329 #122B5C #1C438F #265BC2

Accessibility & contrast

On white

13.76
#122B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B5C
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B5C#FFFFFF#000000##FFFFFF
##122B5C1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122b5c;
/* rgb */ color: rgb(18, 43, 92);
/* oklch */ color: oklch(30.1% 0.093 262.1);
Tailwind
colors: {
  custom: {
    50: '#5c638a',
    500: '#122b5c',
    950: '#000000',
  },
}
SCSS
$custom: #122b5c;
$custom-light: #5c638a;
$custom-dark: #000000;
JSON
{
  "hex": "#122b5c",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 92
  },
  "hsl": {
    "h": 219.73,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.09332,
    "h": 262.1
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#122B5C
secondary
#947435
accent
#B03EEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122B5C

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

Preview Lab → · Contrast checker → · Palette generator →

#122B5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva