#123975#123975

#123975 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.112 H 259.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#123975
RGBrgb(18, 57, 117)
HSLhsl(216, 73%, 26%)
HSVhsv(216, 85%, 46%)
CMYKcmyk(84.6%, 51.3%, 0%, 54.1%)
CIE-LABlab(24.76, 10.68, -38.26)
CIE-LCHlch(24.76, 39.73, 285.59°)
OKLaboklab(35.48% -0.0211 -0.1101)
OKLCHoklch(35.48% 0.112 259.2)
XYZxyz(4.9223, 4.3386, 17.4042)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123975 #754E12
analogous
#126B75 #123975 #1D1275
triadic
#123975 #751239 #397512
tetradic
#123975 #75126B #754E12 #12751D
square
#123975 #75126B #754E12 #12751D
split-complementary
#123975 #751D12 #6B7512
monochromatic
#040D1B #0A1F40 #123975 #1A53AA #246DDD

Accessibility & contrast

On white

11.24
#123975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#123975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123975
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123975#FFFFFF#000000##FFFFFF
##1239751.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154077
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123975;
/* rgb */ color: rgb(18, 57, 117);
/* oklch */ color: oklch(35.5% 0.112 259.2);
Tailwind
colors: {
  custom: {
    50: '#626e9d',
    500: '#123975',
    950: '#000000',
  },
}
SCSS
$custom: #123975;
$custom-light: #626e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#123975",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 117
  },
  "hsl": {
    "h": 216.364,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35477,
    "c": 0.11209,
    "h": 259.2
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#123975
secondary
#AC7E37
accent
#A738F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123975

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

Preview Lab → · Contrast checker → · Palette generator →

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