#123275#123275

#123275 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 33.9% C 0.121 H 262.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#123275
RGBrgb(18, 50, 117)
HSLhsl(221, 73%, 26%)
HSVhsv(221, 85%, 46%)
CMYKcmyk(84.6%, 57.3%, 0%, 54.1%)
CIE-LABlab(22.63, 15.69, -41.71)
CIE-LCHlch(22.63, 44.57, 290.62°)
OKLaboklab(33.85% -0.0156 -0.1204)
OKLCHoklch(33.85% 0.121 262.6)
XYZxyz(4.5998, 3.6936, 17.2967)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123275 #755512
analogous
#126475 #123275 #241275
triadic
#123275 #751232 #327512
tetradic
#123275 #751264 #755512 #127524
square
#123275 #751264 #755512 #127524
split-complementary
#123275 #752412 #647512
monochromatic
#040B1B #0A1B40 #123275 #1A49AA #2460DD

Accessibility & contrast

On white

12.08
#123275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#123275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123275
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123275#FFFFFF#000000##FFFFFF
##1232751.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123275;
/* rgb */ color: rgb(18, 50, 117);
/* oklch */ color: oklch(33.9% 0.121 262.6);
Tailwind
colors: {
  custom: {
    50: '#63699d',
    500: '#123275',
    950: '#000000',
  },
}
SCSS
$custom: #123275;
$custom-light: #63699d;
$custom-dark: #000000;
JSON
{
  "hex": "#123275",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 117
  },
  "hsl": {
    "h": 220.606,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33853,
    "c": 0.12139,
    "h": 262.6
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#123275
secondary
#AC8637
accent
#B438F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123275

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

Preview Lab → · Contrast checker → · Palette generator →

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