#223261#223261

#223261 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.086 H 267.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#223261
RGBrgb(34, 50, 97)
HSLhsl(225, 48%, 26%)
HSVhsv(225, 65%, 38%)
CMYKcmyk(64.9%, 48.5%, 0%, 62%)
CIE-LABlab(21.89, 9.99, -29.95)
CIE-LCHlch(21.89, 31.58, 288.45°)
OKLaboklab(33.02% -0.0038 -0.0855)
OKLCHoklch(33.02% 0.086 267.5)
XYZxyz(3.9572, 3.4840, 11.7709)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223261 #615122
analogous
#225161 #223261 #312261
triadic
#223261 #612232 #326122
tetradic
#223261 #612251 #615122 #226131
square
#223261 #612251 #615122 #226131
split-complementary
#223261 #613122 #516122
monochromatic
#080C17 #121B34 #223261 #32498E #4261BC

Accessibility & contrast

On white

12.38
#223261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#223261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223261
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223261#FFFFFF#000000##FFFFFF
##2232611.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3763
Deuteranopia (green-blind)
#123260
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #223261;
/* rgb */ color: rgb(34, 50, 97);
/* oklch */ color: oklch(33.0% 0.086 267.5);
Tailwind
colors: {
  custom: {
    50: '#64698e',
    500: '#223261',
    950: '#000000',
  },
}
SCSS
$custom: #223261;
$custom-light: #64698e;
$custom-dark: #000000;
JSON
{
  "hex": "#223261",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 224.762,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33016,
    "c": 0.08556,
    "h": 267.5
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#223261
secondary
#95824A
accent
#B550D8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #223261

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

Preview Lab → · Contrast checker → · Palette generator →

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