#123E7E#123E7E

#123E7E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.119 H 258.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#123E7E
RGBrgb(18, 62, 126)
HSLhsl(216, 75%, 28%)
HSVhsv(216, 86%, 49%)
CMYKcmyk(85.7%, 50.8%, 0%, 50.6%)
CIE-LABlab(26.96, 10.96, -40.40)
CIE-LCHlch(26.96, 41.86, 285.17°)
OKLaboklab(37.38% -0.0236 -0.1162)
OKLCHoklch(37.38% 0.119 258.5)
XYZxyz(5.7366, 5.0795, 20.4127)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123E7E #7E5212
analogous
#12747E #123E7E #1C127E
triadic
#123E7E #7E123E #3E7E12
tetradic
#123E7E #7E1274 #7E5212 #127E1C
square
#123E7E #7E1274 #7E5212 #127E1C
split-complementary
#123E7E #7E1C12 #747E12
monochromatic
#040D1B #0A2448 #123E7E #1A58B4 #2A74E1

Accessibility & contrast

On white

10.42
#123E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#123E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123E7E
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123E7E#FFFFFF#000000##FFFFFF
##123E7E1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184580
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #123e7e;
/* rgb */ color: rgb(18, 62, 126);
/* oklch */ color: oklch(37.4% 0.119 258.5);
Tailwind
colors: {
  custom: {
    50: '#6472a4',
    500: '#123e7e',
    950: '#000000',
  },
}
SCSS
$custom: #123e7e;
$custom-light: #6472a4;
$custom-dark: #000000;
JSON
{
  "hex": "#123e7e",
  "rgb": {
    "r": 18,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 215.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37376,
    "c": 0.11863,
    "h": 258.5
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#123E7E
secondary
#B48138
accent
#A536F2
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #123E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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