#123A74#123A74

#123A74 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.109 H 258.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#123A74
RGBrgb(18, 58, 116)
HSLhsl(216, 73%, 26%)
HSVhsv(216, 84%, 45%)
CMYKcmyk(84.5%, 50%, 0%, 54.5%)
CIE-LABlab(25.00, 9.54, -37.24)
CIE-LCHlch(25.00, 38.45, 284.37°)
OKLaboklab(35.64% -0.0221 -0.1071)
OKLCHoklch(35.64% 0.109 258.3)
XYZxyz(4.9137, 4.4151, 17.1128)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A74 #744C12
analogous
#126B74 #123A74 #1B1274
triadic
#123A74 #74123A #3A7412
tetradic
#123A74 #74126B #744C12 #12741B
square
#123A74 #74126B #744C12 #12741B
split-complementary
#123A74 #741B12 #6B7412
monochromatic
#040D1A #0A203F #123A74 #1A54A9 #236FDD

Accessibility & contrast

On white

11.15
#123A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#123A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A74
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A74#FFFFFF#000000##FFFFFF
##123A741.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194076
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123a74;
/* rgb */ color: rgb(18, 58, 116);
/* oklch */ color: oklch(35.6% 0.109 258.3);
Tailwind
colors: {
  custom: {
    50: '#626f9c',
    500: '#123a74',
    950: '#000000',
  },
}
SCSS
$custom: #123a74;
$custom-light: #626f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#123a74",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 116
  },
  "hsl": {
    "h": 215.51,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35636,
    "c": 0.10932,
    "h": 258.3
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#123A74
secondary
#AB7C37
accent
#A538F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123A74

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

Preview Lab → · Contrast checker → · Palette generator →

#123A74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva