#102270#102270

#102270 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.136 H 266.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#102270
RGBrgb(16, 34, 112)
HSLhsl(229, 75%, 25%)
HSVhsv(229, 86%, 44%)
CMYKcmyk(85.7%, 69.6%, 0%, 56.1%)
CIE-LABlab(17.57, 24.90, -46.77)
CIE-LCHlch(17.57, 52.99, 298.03°)
OKLaboklab(29.92% -0.0072 -0.1355)
OKLCHoklch(29.92% 0.136 266.9)
XYZxyz(3.7093, 2.4236, 15.5984)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#102270 #705E10
analogous
#105270 #102270 #2E1070
triadic
#102270 #701022 #227010
tetradic
#102270 #701052 #705E10 #10702E
square
#102270 #701052 #705E10 #10702E
split-complementary
#102270 #702E10 #527010
monochromatic
#04081B #08123A #102270 #1832A6 #1F43DB

Accessibility & contrast

On white

14.14
#102270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#102270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #102270
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##102270#FFFFFF#000000##FFFFFF
##1022701.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #102270;
/* rgb */ color: rgb(16, 34, 112);
/* oklch */ color: oklch(29.9% 0.136 266.9);
Tailwind
colors: {
  custom: {
    50: '#625d9a',
    500: '#102270',
    950: '#000000',
  },
}
SCSS
$custom: #102270;
$custom-light: #625d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#102270",
  "rgb": {
    "r": 16,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 228.75,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29918,
    "c": 0.13567,
    "h": 266.9
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#102270
secondary
#A89234
accent
#CE36F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #102270

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

Preview Lab → · Contrast checker → · Palette generator →

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