#123875#123875

#123875 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.113 H 259.7°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#123875
RGBrgb(18, 56, 117)
HSLhsl(217, 73%, 26%)
HSVhsv(217, 85%, 46%)
CMYKcmyk(84.6%, 52.1%, 0%, 54.1%)
CIE-LABlab(24.45, 11.39, -38.76)
CIE-LCHlch(24.45, 40.40, 286.38°)
OKLaboklab(35.24% -0.0203 -0.1116)
OKLCHoklch(35.24% 0.113 259.7)
XYZxyz(4.8733, 4.2407, 17.3879)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123875 #754F12
analogous
#126A75 #123875 #1E1275
triadic
#123875 #751238 #387512
tetradic
#123875 #75126A #754F12 #12751E
square
#123875 #75126A #754F12 #12751E
split-complementary
#123875 #751E12 #6A7512
monochromatic
#040D1B #0A1F40 #123875 #1A51AA #246BDD

Accessibility & contrast

On white

11.36
#123875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#123875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123875
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123875#FFFFFF#000000##FFFFFF
##1238751.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F77
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123875;
/* rgb */ color: rgb(18, 56, 117);
/* oklch */ color: oklch(35.2% 0.113 259.7);
Tailwind
colors: {
  custom: {
    50: '#626e9d',
    500: '#123875',
    950: '#000000',
  },
}
SCSS
$custom: #123875;
$custom-light: #626e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#123875",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 117
  },
  "hsl": {
    "h": 216.97,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.11341,
    "h": 259.7
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#123875
secondary
#AC7F37
accent
#A938F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123875

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

Preview Lab → · Contrast checker → · Palette generator →

#123875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva