#122475#122475

#122475 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.140 H 267.2°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#122475
RGBrgb(18, 36, 117)
HSLhsl(229, 73%, 26%)
HSVhsv(229, 85%, 46%)
CMYKcmyk(84.6%, 69.2%, 0%, 54.1%)
CIE-LABlab(18.69, 25.69, -48.15)
CIE-LCHlch(18.69, 54.58, 298.08°)
OKLaboklab(30.92% -0.0068 -0.1395)
OKLCHoklch(30.92% 0.14 267.2)
XYZxyz(4.0901, 2.6742, 17.1268)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122475 #756312
analogous
#125675 #122475 #321275
triadic
#122475 #751224 #247512
tetradic
#122475 #751256 #756312 #127532
square
#122475 #751256 #756312 #127532
split-complementary
#122475 #753212 #567512
monochromatic
#04081B #0A1440 #122475 #1A34AA #2446DD

Accessibility & contrast

On white

13.68
#122475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#122475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122475
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122475#FFFFFF#000000##FFFFFF
##1224751.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122475;
/* rgb */ color: rgb(18, 36, 117);
/* oklch */ color: oklch(30.9% 0.140 267.2);
Tailwind
colors: {
  custom: {
    50: '#645e9e',
    500: '#122475',
    950: '#000000',
  },
}
SCSS
$custom: #122475;
$custom-light: #645e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#122475",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 229.091,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30916,
    "c": 0.13964,
    "h": 267.2
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#122475
secondary
#AC9637
accent
#CF38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122475

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

Preview Lab → · Contrast checker → · Palette generator →

#122475 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva