#122243#122243

#122243 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.066 H 263.1°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#122243
RGBrgb(18, 34, 67)
HSLhsl(220, 58%, 17%)
HSVhsv(220, 73%, 26%)
CMYKcmyk(73.1%, 49.3%, 0%, 73.7%)
CIE-LABlab(13.70, 6.11, -22.89)
CIE-LCHlch(13.70, 23.70, 284.95°)
OKLaboklab(25.8% -0.0079 -0.0653)
OKLCHoklch(25.8% 0.066 263.1)
XYZxyz(1.8342, 1.6777, 5.5363)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122243 #433312
analogous
#123B43 #122243 #1B1243
triadic
#122243 #431222 #224312
tetradic
#122243 #43123B #433312 #12431B
square
#122243 #43123B #433312 #12431B
split-complementary
#122243 #431B12 #3B4312
monochromatic
#060C18 #060C18 #122243 #1F3A73 #2C53A3

Accessibility & contrast

On white

15.72
#122243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#122243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122243
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122243#FFFFFF#000000##FFFFFF
##1222431.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122544
Deuteranopia (green-blind)
#0B2142
Tritanopia (blue-blind)
#002A2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122243;
/* rgb */ color: rgb(18, 34, 67);
/* oklch */ color: oklch(25.8% 0.066 263.1);
Tailwind
colors: {
  custom: {
    50: '#565c77',
    500: '#122243',
    950: '#000000',
  },
}
SCSS
$custom: #122243;
$custom-light: #565c77;
$custom-dark: #000000;
JSON
{
  "hex": "#122243",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 67
  },
  "hsl": {
    "h": 220.408,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25803,
    "c": 0.06583,
    "h": 263.1
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#122243
secondary
#7C6535
accent
#AF47E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #122243

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

Preview Lab → · Contrast checker → · Palette generator →

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