#122E75#122E75

#122E75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.0% C 0.127 H 264.2°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#122E75
RGBrgb(18, 46, 117)
HSLhsl(223, 73%, 26%)
HSVhsv(223, 85%, 46%)
CMYKcmyk(84.6%, 60.7%, 0%, 54.1%)
CIE-LABlab(21.46, 18.58, -43.63)
CIE-LCHlch(21.46, 47.42, 293.07°)
OKLaboklab(32.97% -0.0128 -0.1261)
OKLCHoklch(32.97% 0.127 264.2)
XYZxyz(4.4362, 3.3664, 17.2421)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E75 #755912
analogous
#126075 #122E75 #281275
triadic
#122E75 #75122E #2E7512
tetradic
#122E75 #751260 #755912 #127528
square
#122E75 #751260 #755912 #127528
split-complementary
#122E75 #752812 #607512
monochromatic
#040A1B #0A1940 #122E75 #1A43AA #2458DD

Accessibility & contrast

On white

12.55
#122E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#122E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E75
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E75#FFFFFF#000000##FFFFFF
##122E751.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122e75;
/* rgb */ color: rgb(18, 46, 117);
/* oklch */ color: oklch(33.0% 0.127 264.2);
Tailwind
colors: {
  custom: {
    50: '#63669d',
    500: '#122e75',
    950: '#000000',
  },
}
SCSS
$custom: #122e75;
$custom-light: #63669d;
$custom-dark: #000000;
JSON
{
  "hex": "#122e75",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 223.03,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.12673,
    "h": 264.2
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#122E75
secondary
#AC8B37
accent
#BC38F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122E75

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

Preview Lab → · Contrast checker → · Palette generator →

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