#123074#123074

#123074 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.3% C 0.123 H 263.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#123074
RGBrgb(18, 48, 116)
HSLhsl(222, 73%, 26%)
HSVhsv(222, 84%, 45%)
CMYKcmyk(84.5%, 58.6%, 0%, 54.5%)
CIE-LABlab(21.95, 16.71, -42.17)
CIE-LCHlch(21.95, 45.36, 291.62°)
OKLaboklab(33.32% -0.0143 -0.1218)
OKLCHoklch(33.32% 0.123 263.3)
XYZxyz(4.4577, 3.5029, 16.9608)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123074 #745612
analogous
#126174 #123074 #251274
triadic
#123074 #741230 #307412
tetradic
#123074 #741261 #745612 #127425
square
#123074 #741261 #745612 #127425
split-complementary
#123074 #742512 #617412
monochromatic
#040B1A #0A1A3F #123074 #1A46A9 #235CDD

Accessibility & contrast

On white

12.35
#123074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123074
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123074#FFFFFF#000000##FFFFFF
##1230741.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123074;
/* rgb */ color: rgb(18, 48, 116);
/* oklch */ color: oklch(33.3% 0.123 263.3);
Tailwind
colors: {
  custom: {
    50: '#63679d',
    500: '#123074',
    950: '#000000',
  },
}
SCSS
$custom: #123074;
$custom-light: #63679d;
$custom-dark: #000000;
JSON
{
  "hex": "#123074",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 221.633,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33316,
    "c": 0.12261,
    "h": 263.3
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#123074
secondary
#AB8737
accent
#B838F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123074

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

Preview Lab → · Contrast checker → · Palette generator →

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