#122E7C#122E7C

#122E7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.137 H 264.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#122E7C
RGBrgb(18, 46, 124)
HSLhsl(224, 75%, 28%)
HSVhsv(224, 85%, 49%)
CMYKcmyk(85.5%, 62.9%, 0%, 51.4%)
CIE-LABlab(22.08, 21.49, -47.06)
CIE-LCHlch(22.08, 51.74, 294.54°)
OKLaboklab(33.63% -0.0126 -0.1362)
OKLCHoklch(33.63% 0.137 264.7)
XYZxyz(4.8632, 3.5372, 19.4913)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E7C #7C6012
analogous
#12637C #122E7C #2B127C
triadic
#122E7C #7C122E #2E7C12
tetradic
#122E7C #7C1263 #7C6012 #127C2B
square
#122E7C #7C1263 #7C6012 #127C2B
split-complementary
#122E7C #7C2B12 #637C12
monochromatic
#040A1B #0A1A47 #122E7C #1A42B1 #2959E0

Accessibility & contrast

On white

12.30
#122E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#122E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E7C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E7C#FFFFFF#000000##FFFFFF
##122E7C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #122e7c;
/* rgb */ color: rgb(18, 46, 124);
/* oklch */ color: oklch(33.6% 0.137 264.7);
Tailwind
colors: {
  custom: {
    50: '#6566a3',
    500: '#122e7c',
    950: '#000000',
  },
}
SCSS
$custom: #122e7c;
$custom-light: #6566a3;
$custom-dark: #000000;
JSON
{
  "hex": "#122e7c",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 224.151,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33627,
    "c": 0.13675,
    "h": 264.7
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#122E7C
secondary
#B29238
accent
#C037F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #122E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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