#122F65#122F65

#122F65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.102 H 261.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#122F65
RGBrgb(18, 47, 101)
HSLhsl(219, 70%, 23%)
HSVhsv(219, 82%, 40%)
CMYKcmyk(82.2%, 53.5%, 0%, 60.4%)
CIE-LABlab(20.44, 11.05, -34.93)
CIE-LCHlch(20.44, 36.64, 287.56°)
OKLaboklab(31.79% -0.0151 -0.1005)
OKLCHoklch(31.79% 0.102 261.4)
XYZxyz(3.6141, 3.1008, 12.7174)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F65 #654812
analogous
#125865 #122F65 #1E1265
triadic
#122F65 #65122F #2F6512
tetradic
#122F65 #651258 #654812 #12651E
square
#122F65 #651258 #654812 #12651E
split-complementary
#122F65 #651E12 #586512
monochromatic
#050C1A #091731 #122F65 #1B4799 #255FCD

Accessibility & contrast

On white

12.96
#122F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#122F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F65
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F65#FFFFFF#000000##FFFFFF
##122F651.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3567
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122f65;
/* rgb */ color: rgb(18, 47, 101);
/* oklch */ color: oklch(31.8% 0.102 261.4);
Tailwind
colors: {
  custom: {
    50: '#5e6791',
    500: '#122f65',
    950: '#000000',
  },
}
SCSS
$custom: #122f65;
$custom-light: #5e6791;
$custom-dark: #000000;
JSON
{
  "hex": "#122f65",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 219.036,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31786,
    "c": 0.10163,
    "h": 261.4
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#122F65
secondary
#9D7936
accent
#AF3BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #122F65

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

Preview Lab → · Contrast checker → · Palette generator →

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