#123B7E#123B7E

#123B7E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.7% C 0.123 H 260.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#123B7E
RGBrgb(18, 59, 126)
HSLhsl(217, 75%, 28%)
HSVhsv(217, 86%, 49%)
CMYKcmyk(85.7%, 53.2%, 0%, 50.6%)
CIE-LABlab(26.05, 13.07, -41.87)
CIE-LCHlch(26.05, 43.87, 287.33°)
OKLaboklab(36.68% -0.0213 -0.1207)
OKLCHoklch(36.68% 0.123 260)
XYZxyz(5.5779, 4.7622, 20.3598)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B7E #7E5512
analogous
#12717E #123B7E #1F127E
triadic
#123B7E #7E123B #3B7E12
tetradic
#123B7E #7E1271 #7E5512 #127E1F
square
#123B7E #7E1271 #7E5512 #127E1F
split-complementary
#123B7E #7E1F12 #717E12
monochromatic
#040D1B #0A2248 #123B7E #1A54B4 #2A6FE1

Accessibility & contrast

On white

10.75
#123B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#123B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B7E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B7E#FFFFFF#000000##FFFFFF
##123B7E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4380
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123b7e;
/* rgb */ color: rgb(18, 59, 126);
/* oklch */ color: oklch(36.7% 0.123 260.0);
Tailwind
colors: {
  custom: {
    50: '#6570a4',
    500: '#123b7e',
    950: '#000000',
  },
}
SCSS
$custom: #123b7e;
$custom-light: #6570a4;
$custom-dark: #000000;
JSON
{
  "hex": "#123b7e",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 217.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36676,
    "c": 0.12254,
    "h": 260
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#123B7E
secondary
#B48538
accent
#AA36F2
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #123B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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