#122F63#122F63

#122F63 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.099 H 261.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#122F63
RGBrgb(18, 47, 99)
HSLhsl(219, 69%, 23%)
HSVhsv(219, 82%, 39%)
CMYKcmyk(81.8%, 52.5%, 0%, 61.2%)
CIE-LABlab(20.29, 10.19, -33.87)
CIE-LCHlch(20.29, 35.37, 286.75°)
OKLaboklab(31.62% -0.0154 -0.0974)
OKLCHoklch(31.62% 0.099 261)
XYZxyz(3.5173, 3.0621, 12.2076)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F63 #634612
analogous
#125763 #122F63 #1E1263
triadic
#122F63 #63122F #2F6312
tetradic
#122F63 #631257 #634612 #12631E
square
#122F63 #631257 #634612 #12631E
split-complementary
#122F63 #631E12 #576312
monochromatic
#050C1A #09162F #122F63 #1B4897 #2560CB

Accessibility & contrast

On white

13.02
#122F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#122F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F63
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F63#FFFFFF#000000##FFFFFF
##122F631.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103565
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122f63;
/* rgb */ color: rgb(18, 47, 99);
/* oklch */ color: oklch(31.6% 0.099 261.0);
Tailwind
colors: {
  custom: {
    50: '#5e6790',
    500: '#122f63',
    950: '#000000',
  },
}
SCSS
$custom: #122f63;
$custom-light: #5e6790;
$custom-dark: #000000;
JSON
{
  "hex": "#122f63",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 218.519,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31621,
    "c": 0.09859,
    "h": 261
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#122F63
secondary
#9B7736
accent
#AD3CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #122F63

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

Preview Lab → · Contrast checker → · Palette generator →

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