#123F80#123F80

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

Color values

HEX#123F80
RGBrgb(18, 63, 128)
HSLhsl(215, 75%, 29%)
HSVhsv(215, 86%, 50%)
CMYKcmyk(85.9%, 50.8%, 0%, 49.8%)
CIE-LABlab(27.41, 11.10, -40.92)
CIE-LCHlch(27.41, 42.40, 285.17°)
OKLaboklab(37.77% -0.0241 -0.1178)
OKLCHoklch(37.77% 0.12 258.4)
XYZxyz(5.9218, 5.2414, 21.1175)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F80 #805312
analogous
#127680 #123F80 #1C1280
triadic
#123F80 #80123F #3F8012
tetradic
#123F80 #801276 #805312 #12801C
square
#123F80 #801276 #805312 #12801C
split-complementary
#123F80 #801C12 #768012
monochromatic
#040D1B #0A254A #123F80 #1A59B6 #2B76E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##123F80#FFFFFF#000000##FFFFFF
##123F801.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)
#184682
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #123f80;
/* rgb */ color: rgb(18, 63, 128);
/* oklch */ color: oklch(37.8% 0.120 258.4);
Tailwind
colors: {
  custom: {
    50: '#6573a5',
    500: '#123f80',
    950: '#000000',
  },
}
SCSS
$custom: #123f80;
$custom-light: #6573a5;
$custom-dark: #000000;
JSON
{
  "hex": "#123f80",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 215.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37769,
    "c": 0.12021,
    "h": 258.4
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#123F80
secondary
#B68238
accent
#A536F2
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #123F80

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

Preview Lab → · Contrast checker → · Palette generator →

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