#122F6D#122F6D

#122F6D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.114 H 262.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#122F6D
RGBrgb(18, 47, 109)
HSLhsl(221, 72%, 25%)
HSVhsv(221, 83%, 43%)
CMYKcmyk(83.5%, 56.9%, 0%, 57.3%)
CIE-LABlab(21.08, 14.47, -39.10)
CIE-LCHlch(21.08, 41.69, 290.31°)
OKLaboklab(32.47% -0.0141 -0.1128)
OKLCHoklch(32.47% 0.114 262.8)
XYZxyz(4.0253, 3.2653, 14.8831)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F6D #6D5012
analogous
#125D6D #122F6D #22126D
triadic
#122F6D #6D122F #2F6D12
tetradic
#122F6D #6D125D #6D5012 #126D22
square
#122F6D #6D125D #6D5012 #126D22
split-complementary
#122F6D #6D2212 #5D6D12
monochromatic
#040B1A #091838 #122F6D #1B46A2 #235CD6

Accessibility & contrast

On white

12.70
#122F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#122F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F6D
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F6D#FFFFFF#000000##FFFFFF
##122F6D1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122f6d;
/* rgb */ color: rgb(18, 47, 109);
/* oklch */ color: oklch(32.5% 0.114 262.8);
Tailwind
colors: {
  custom: {
    50: '#616697',
    500: '#122f6d',
    950: '#000000',
  },
}
SCSS
$custom: #122f6d;
$custom-light: #616697;
$custom-dark: #000000;
JSON
{
  "hex": "#122f6d",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 220.879,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32469,
    "c": 0.11364,
    "h": 262.8
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#122F6D
secondary
#A48137
accent
#B539EE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #122F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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