#12357F#12357F

#12357F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.132 H 262.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#12357F
RGBrgb(18, 53, 127)
HSLhsl(221, 75%, 28%)
HSVhsv(221, 86%, 50%)
CMYKcmyk(85.8%, 58.3%, 0%, 50.2%)
CIE-LABlab(24.34, 17.75, -45.27)
CIE-LCHlch(24.34, 48.62, 291.41°)
OKLaboklab(35.41% -0.0169 -0.1308)
OKLCHoklch(35.41% 0.132 262.6)
XYZxyz(5.3519, 4.2065, 20.6044)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12357F #7F5C12
analogous
#126B7F #12357F #25127F
triadic
#12357F #7F1235 #357F12
tetradic
#12357F #7F126B #7F5C12 #127F25
square
#12357F #7F126B #7F5C12 #127F25
split-complementary
#12357F #7F2512 #6B7F12
monochromatic
#040B1B #0A1F49 #12357F #1A4BB5 #2B65E1

Accessibility & contrast

On white

11.40
#12357F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#12357F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12357F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12357F#FFFFFF#000000##FFFFFF
##12357F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #12357f;
/* rgb */ color: rgb(18, 53, 127);
/* oklch */ color: oklch(35.4% 0.132 262.6);
Tailwind
colors: {
  custom: {
    50: '#656ba5',
    500: '#12357f',
    950: '#000000',
  },
}
SCSS
$custom: #12357f;
$custom-light: #656ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#12357f",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 127
  },
  "hsl": {
    "h": 220.734,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35407,
    "c": 0.13186,
    "h": 262.6
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#12357F
secondary
#B58D38
accent
#B536F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #12357F

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

Preview Lab → · Contrast checker → · Palette generator →

#12357F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva