#123B8F#123B8F

#123B8F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.147 H 262.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#123B8F
RGBrgb(18, 59, 143)
HSLhsl(220, 78%, 32%)
HSVhsv(220, 87%, 56%)
CMYKcmyk(87.4%, 58.7%, 0%, 43.9%)
CIE-LABlab(27.40, 20.17, -50.25)
CIE-LCHlch(27.40, 54.14, 291.87°)
OKLaboklab(38.13% -0.0196 -0.1453)
OKLCHoklch(38.13% 0.147 262.3)
XYZxyz(6.7696, 5.2388, 26.6357)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B8F #8F6612
analogous
#127A8F #123B8F #28128F
triadic
#123B8F #8F123B #3B8F12
tetradic
#123B8F #8F127A #8F6612 #128F28
square
#123B8F #8F127A #8F6612 #128F28
split-complementary
#123B8F #8F2812 #7A8F12
monochromatic
#040E22 #0B2559 #123B8F #1951C5 #366FE6

Accessibility & contrast

On white

10.25
#123B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#123B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B8F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B8F#FFFFFF#000000##FFFFFF
##123B8F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #123b8f;
/* rgb */ color: rgb(18, 59, 143);
/* oklch */ color: oklch(38.1% 0.147 262.3);
Tailwind
colors: {
  custom: {
    50: '#6970b1',
    500: '#123b8f',
    950: '#000000',
  },
}
SCSS
$custom: #123b8f;
$custom-light: #6970b1;
$custom-dark: #000000;
JSON
{
  "hex": "#123b8f",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 220.32,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38134,
    "c": 0.14659,
    "h": 262.3
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#123B8F
secondary
#C3963A
accent
#B534F4
background
#F6F6FB
surface
#ECECF6
border
#C7C7D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #123B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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