#122F61#122F61

#122F61 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.096 H 260.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#122F61
RGBrgb(18, 47, 97)
HSLhsl(218, 69%, 23%)
HSVhsv(218, 81%, 38%)
CMYKcmyk(81.4%, 51.5%, 0%, 62%)
CIE-LABlab(20.14, 9.34, -32.80)
CIE-LCHlch(20.14, 34.10, 285.89°)
OKLaboklab(31.46% -0.0158 -0.0942)
OKLCHoklch(31.46% 0.096 260.5)
XYZxyz(3.4229, 3.0243, 11.7103)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F61 #614412
analogous
#125661 #122F61 #1D1261
triadic
#122F61 #61122F #2F6112
tetradic
#122F61 #611256 #614412 #12611D
square
#122F61 #611256 #614412 #12611D
split-complementary
#122F61 #611D12 #566112
monochromatic
#050D1A #08162D #122F61 #1C4895 #2561C8

Accessibility & contrast

On white

13.08
#122F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122F61
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F61#FFFFFF#000000##FFFFFF
##122F611.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133463
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122f61;
/* rgb */ color: rgb(18, 47, 97);
/* oklch */ color: oklch(31.5% 0.096 260.5);
Tailwind
colors: {
  custom: {
    50: '#5d678e',
    500: '#122f61',
    950: '#000000',
  },
}
SCSS
$custom: #122f61;
$custom-light: #5d678e;
$custom-dark: #000000;
JSON
{
  "hex": "#122f61",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 217.975,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31459,
    "c": 0.09554,
    "h": 260.5
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#122F61
secondary
#997536
accent
#AB3CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #122F61

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

Preview Lab → · Contrast checker → · Palette generator →

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