#123B7C#123B7C

#123B7C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.120 H 259.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#123B7C
RGBrgb(18, 59, 124)
HSLhsl(217, 75%, 28%)
HSVhsv(217, 85%, 49%)
CMYKcmyk(85.5%, 52.4%, 0%, 51.4%)
CIE-LABlab(25.90, 12.23, -40.86)
CIE-LCHlch(25.90, 42.65, 286.66°)
OKLaboklab(36.51% -0.0216 -0.1177)
OKLCHoklch(36.51% 0.12 259.6)
XYZxyz(5.4502, 4.7111, 19.6870)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B7C #7C5312
analogous
#12707C #123B7C #1E127C
triadic
#123B7C #7C123B #3B7C12
tetradic
#123B7C #7C1270 #7C5312 #127C1E
square
#123B7C #7C1270 #7C5312 #127C1E
split-complementary
#123B7C #7C1E12 #707C12
monochromatic
#040D1B #0A2247 #123B7C #1A54B1 #296FE0

Accessibility & contrast

On white

10.81
#123B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#123B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B7C
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B7C#FFFFFF#000000##FFFFFF
##123B7C1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123b7c;
/* rgb */ color: rgb(18, 59, 124);
/* oklch */ color: oklch(36.5% 0.120 259.6);
Tailwind
colors: {
  custom: {
    50: '#6470a2',
    500: '#123b7c',
    950: '#000000',
  },
}
SCSS
$custom: #123b7c;
$custom-light: #6470a2;
$custom-dark: #000000;
JSON
{
  "hex": "#123b7c",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 124
  },
  "hsl": {
    "h": 216.792,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36512,
    "c": 0.11964,
    "h": 259.6
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#123B7C
secondary
#B28338
accent
#A937F1
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #123B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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