#123C7C#123C7C

#123C7C is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.118 H 259.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#123C7C
RGBrgb(18, 60, 124)
HSLhsl(216, 75%, 28%)
HSVhsv(216, 85%, 49%)
CMYKcmyk(85.5%, 51.6%, 0%, 51.4%)
CIE-LABlab(26.20, 11.52, -40.37)
CIE-LCHlch(26.20, 41.98, 285.93°)
OKLaboklab(36.75% -0.0224 -0.1162)
OKLCHoklch(36.75% 0.118 259.1)
XYZxyz(5.5021, 4.8149, 19.7043)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C7C #7C5212
analogous
#12717C #123C7C #1D127C
triadic
#123C7C #7C123C #3C7C12
tetradic
#123C7C #7C1271 #7C5212 #127C1D
square
#123C7C #7C1271 #7C5212 #127C1D
split-complementary
#123C7C #7C1D12 #717C12
monochromatic
#040D1B #0A2247 #123C7C #1A56B1 #2971E0

Accessibility & contrast

On white

10.70
#123C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#123C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C7C
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C7C#FFFFFF#000000##FFFFFF
##123C7C1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123c7c;
/* rgb */ color: rgb(18, 60, 124);
/* oklch */ color: oklch(36.7% 0.118 259.1);
Tailwind
colors: {
  custom: {
    50: '#6471a2',
    500: '#123c7c',
    950: '#000000',
  },
}
SCSS
$custom: #123c7c;
$custom-light: #6471a2;
$custom-dark: #000000;
JSON
{
  "hex": "#123c7c",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 216.226,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36746,
    "c": 0.11834,
    "h": 259.1
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#123C7C
secondary
#B28238
accent
#A737F1
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #123C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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