#123265#123265

#123265 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.098 H 259.5°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#123265
RGBrgb(18, 50, 101)
HSLhsl(217, 70%, 23%)
HSVhsv(217, 82%, 40%)
CMYKcmyk(82.2%, 50.5%, 0%, 60.4%)
CIE-LABlab(21.39, 8.87, -33.40)
CIE-LCHlch(21.39, 34.56, 284.87°)
OKLaboklab(32.51% -0.0178 -0.0959)
OKLCHoklch(32.51% 0.098 259.5)
XYZxyz(3.7382, 3.3490, 12.7588)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123265 #654512
analogous
#125B65 #123265 #1B1265
triadic
#123265 #651232 #326512
tetradic
#123265 #65125B #654512 #12651B
square
#123265 #65125B #654512 #12651B
split-complementary
#123265 #651B12 #5B6512
monochromatic
#050D1A #091831 #123265 #1B4C99 #2565CD

Accessibility & contrast

On white

12.58
#123265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#123265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123265
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123265#FFFFFF#000000##FFFFFF
##1232651.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163767
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123265;
/* rgb */ color: rgb(18, 50, 101);
/* oklch */ color: oklch(32.5% 0.098 259.5);
Tailwind
colors: {
  custom: {
    50: '#5e6991',
    500: '#123265',
    950: '#000000',
  },
}
SCSS
$custom: #123265;
$custom-light: #5e6991;
$custom-dark: #000000;
JSON
{
  "hex": "#123265",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 101
  },
  "hsl": {
    "h": 216.867,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.09758,
    "h": 259.5
  },
  "luminance": 0.03349
}

Semantic roles & 50–950 ramp

primary
#123265
secondary
#9D7536
accent
#A83BED
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060D
muted
#797A7D

Preview Lab

Preview with #123265

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

Preview Lab → · Contrast checker → · Palette generator →

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