#122F75#122F75

#122F75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.125 H 263.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#122F75
RGBrgb(18, 47, 117)
HSLhsl(222, 73%, 26%)
HSVhsv(222, 85%, 46%)
CMYKcmyk(84.6%, 59.8%, 0%, 54.1%)
CIE-LABlab(21.75, 17.86, -43.15)
CIE-LCHlch(21.75, 46.70, 292.48°)
OKLaboklab(33.18% -0.0135 -0.1247)
OKLCHoklch(33.18% 0.125 263.8)
XYZxyz(4.4757, 3.4454, 17.2553)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F75 #755812
analogous
#126175 #122F75 #271275
triadic
#122F75 #75122F #2F7512
tetradic
#122F75 #751261 #755812 #127527
square
#122F75 #751261 #755812 #127527
split-complementary
#122F75 #752712 #617512
monochromatic
#040B1B #0A1A40 #122F75 #1A44AA #245ADD

Accessibility & contrast

On white

12.43
#122F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#122F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F75
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F75#FFFFFF#000000##FFFFFF
##122F751.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #122f75;
/* rgb */ color: rgb(18, 47, 117);
/* oklch */ color: oklch(33.2% 0.125 263.8);
Tailwind
colors: {
  custom: {
    50: '#63679d',
    500: '#122f75',
    950: '#000000',
  },
}
SCSS
$custom: #122f75;
$custom-light: #63679d;
$custom-dark: #000000;
JSON
{
  "hex": "#122f75",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 222.424,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33185,
    "c": 0.1254,
    "h": 263.8
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#122F75
secondary
#AC8A37
accent
#BA38F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #122F75

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

Preview Lab → · Contrast checker → · Palette generator →

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