#123B7F#123B7F

#123B7F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.8% C 0.124 H 260.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#123B7F
RGBrgb(18, 59, 127)
HSLhsl(217, 75%, 28%)
HSVhsv(217, 86%, 50%)
CMYKcmyk(85.8%, 53.5%, 0%, 50.2%)
CIE-LABlab(26.12, 13.49, -42.38)
CIE-LCHlch(26.12, 44.47, 287.66°)
OKLaboklab(36.76% -0.0212 -0.1221)
OKLCHoklch(36.76% 0.124 260.2)
XYZxyz(5.6428, 4.7881, 20.7014)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B7F #7F5612
analogous
#12717F #123B7F #1F127F
triadic
#123B7F #7F123B #3B7F12
tetradic
#123B7F #7F1271 #7F5612 #127F1F
square
#123B7F #7F1271 #7F5612 #127F1F
split-complementary
#123B7F #7F1F12 #717F12
monochromatic
#040C1B #0A2249 #123B7F #1A54B5 #2B6FE1

Accessibility & contrast

On white

10.73
#123B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123B7F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B7F#FFFFFF#000000##FFFFFF
##123B7F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4381
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123b7f;
/* rgb */ color: rgb(18, 59, 127);
/* oklch */ color: oklch(36.8% 0.124 260.2);
Tailwind
colors: {
  custom: {
    50: '#6570a5',
    500: '#123b7f',
    950: '#000000',
  },
}
SCSS
$custom: #123b7f;
$custom-light: #6570a5;
$custom-dark: #000000;
JSON
{
  "hex": "#123b7f",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 127
  },
  "hsl": {
    "h": 217.431,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36758,
    "c": 0.12397,
    "h": 260.2
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#123B7F
secondary
#B58638
accent
#AB36F2
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #123B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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