#122E6E#122E6E

#122E6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.116 H 263.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#122E6E
RGBrgb(18, 46, 110)
HSLhsl(222, 72%, 25%)
HSVhsv(222, 84%, 43%)
CMYKcmyk(83.6%, 58.2%, 0%, 56.9%)
CIE-LABlab(20.86, 15.62, -40.10)
CIE-LCHlch(20.86, 43.04, 291.29°)
OKLaboklab(32.33% -0.0133 -0.1157)
OKLCHoklch(32.33% 0.116 263.4)
XYZxyz(4.0399, 3.2079, 15.1551)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E6E #6E5212
analogous
#125C6E #122E6E #24126E
triadic
#122E6E #6E122E #2E6E12
tetradic
#122E6E #6E125C #6E5212 #126E24
square
#122E6E #6E125C #6E5212 #126E24
split-complementary
#122E6E #6E2412 #5C6E12
monochromatic
#040B1A #091839 #122E6E #1B44A3 #235AD7

Accessibility & contrast

On white

12.79
#122E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#122E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E6E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E6E#FFFFFF#000000##FFFFFF
##122E6E1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122e6e;
/* rgb */ color: rgb(18, 46, 110);
/* oklch */ color: oklch(32.3% 0.116 263.4);
Tailwind
colors: {
  custom: {
    50: '#616698',
    500: '#122e6e',
    950: '#000000',
  },
}
SCSS
$custom: #122e6e;
$custom-light: #616698;
$custom-dark: #000000;
JSON
{
  "hex": "#122e6e",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 221.739,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3233,
    "c": 0.11649,
    "h": 263.4
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#122E6E
secondary
#A58437
accent
#B739EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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