#27458C#27458C

#27458C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.123 H 264.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#27458C
RGBrgb(39, 69, 140)
HSLhsl(222, 56%, 35%)
HSVhsv(222, 72%, 55%)
CMYKcmyk(72.1%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.83, 14.46, -42.81)
CIE-LCHlch(30.83, 45.19, 288.66°)
OKLaboklab(40.88% -0.0121 -0.1229)
OKLCHoklch(40.88% 0.123 264.4)
XYZxyz(7.6968, 6.5802, 25.6703)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27458C #8C6E27
analogous
#27788C #27458C #3B278C
triadic
#27458C #8C2745 #458C27
tetradic
#27458C #8C2778 #8C6E27 #278C3B
square
#27458C #8C2778 #8C6E27 #278C3B
split-complementary
#27458C #8C3B27 #788C27
monochromatic
#0C162C #1A2D5C #27458C #345DBC #5C7FD2

Accessibility & contrast

On white

9.07
#27458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#27458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27458C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27458C#FFFFFF#000000##FFFFFF
##27458C1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27458c;
/* rgb */ color: rgb(39, 69, 140);
/* oklch */ color: oklch(40.9% 0.123 264.4);
Tailwind
colors: {
  custom: {
    50: '#6f78ae',
    500: '#27458c',
    950: '#000000',
  },
}
SCSS
$custom: #27458c;
$custom-light: #6f78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27458c",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 222.178,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40876,
    "c": 0.12347,
    "h": 264.4
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#27458C
secondary
#B79B58
accent
#B348E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27458C

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

Preview Lab → · Contrast checker → · Palette generator →

#27458C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva