#123072#123072

#123072 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.120 H 263.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#123072
RGBrgb(18, 48, 114)
HSLhsl(221, 73%, 26%)
HSVhsv(221, 84%, 45%)
CMYKcmyk(84.2%, 57.9%, 0%, 55.3%)
CIE-LABlab(21.79, 15.87, -41.16)
CIE-LCHlch(21.79, 44.12, 291.08°)
OKLaboklab(33.14% -0.0144 -0.1188)
OKLCHoklch(33.14% 0.12 263.1)
XYZxyz(4.3426, 3.4569, 16.3547)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123072 #725412
analogous
#126072 #123072 #241272
triadic
#123072 #721230 #307212
tetradic
#123072 #721260 #725412 #127224
square
#123072 #721260 #725412 #127224
split-complementary
#123072 #722412 #607212
monochromatic
#040B1A #0A1A3D #123072 #1A46A7 #235DDC

Accessibility & contrast

On white

12.42
#123072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#123072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123072
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123072#FFFFFF#000000##FFFFFF
##1230721.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123072;
/* rgb */ color: rgb(18, 48, 114);
/* oklch */ color: oklch(33.1% 0.120 263.1);
Tailwind
colors: {
  custom: {
    50: '#62679b',
    500: '#123072',
    950: '#000000',
  },
}
SCSS
$custom: #123072;
$custom-light: #62679b;
$custom-dark: #000000;
JSON
{
  "hex": "#123072",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 221.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33137,
    "c": 0.11969,
    "h": 263.1
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#123072
secondary
#A98537
accent
#B638EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123072

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

Preview Lab → · Contrast checker → · Palette generator →

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