#102254#102254

#102254 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.094 H 265.5°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#102254
RGBrgb(16, 34, 84)
HSLhsl(224, 68%, 20%)
HSVhsv(224, 81%, 33%)
CMYKcmyk(81%, 59.5%, 0%, 67.1%)
CIE-LABlab(14.92, 13.11, -32.58)
CIE-LCHlch(14.92, 35.12, 291.92°)
OKLaboklab(27.13% -0.0074 -0.0939)
OKLCHoklch(27.13% 0.094 265.5)
XYZxyz(2.3854, 1.8940, 8.6257)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102254 #544210
analogous
#104454 #102254 #201054
triadic
#102254 #541022 #225410
tetradic
#102254 #541044 #544210 #105420
square
#102254 #541044 #544210 #105420
split-complementary
#102254 #542010 #445410
monochromatic
#050A1A #060D21 #102254 #1A3787 #244CBB

Accessibility & contrast

On white

15.23
#102254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#102254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102254
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102254#FFFFFF#000000##FFFFFF
##1022541.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #102254;
/* rgb */ color: rgb(16, 34, 84);
/* oklch */ color: oklch(27.1% 0.094 265.5);
Tailwind
colors: {
  custom: {
    50: '#5a5c85',
    500: '#102254',
    950: '#000000',
  },
}
SCSS
$custom: #102254;
$custom-light: #5a5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#102254",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 224.118,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27132,
    "c": 0.09419,
    "h": 265.5
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#102254
secondary
#8E7532
accent
#BD3DEB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #102254

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

Preview Lab → · Contrast checker → · Palette generator →

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