#262145#262145

#262145 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.065 H 287.7°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#262145
RGBrgb(38, 33, 69)
HSLhsl(248, 35%, 20%)
HSVhsv(248, 52%, 27%)
CMYKcmyk(44.9%, 52.2%, 0%, 72.9%)
CIE-LABlab(15.11, 12.93, -21.93)
CIE-LCHlch(15.11, 25.46, 300.53°)
OKLaboklab(27.34% 0.0197 -0.062)
OKLCHoklch(27.34% 0.065 287.7)
XYZxyz(2.4171, 1.9294, 5.8741)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262145 #404521
analogous
#212E45 #262145 #382145
triadic
#262145 #452621 #214526
tetradic
#262145 #45212E #404521 #214538
square
#262145 #45212E #404521 #214538
split-complementary
#262145 #453821 #2E4521
monochromatic
#0B0A15 #0F0D1C #262145 #3D356E #544998

Accessibility & contrast

On white

15.15
#262145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#262145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262145
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262145#FFFFFF#000000##FFFFFF
##2621451.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142746
Deuteranopia (green-blind)
#132544
Tritanopia (blue-blind)
#1D282F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #262145;
/* rgb */ color: rgb(38, 33, 69);
/* oklch */ color: oklch(27.3% 0.065 287.7);
Tailwind
colors: {
  custom: {
    50: '#625c79',
    500: '#262145',
    950: '#000000',
  },
}
SCSS
$custom: #262145;
$custom-light: #625c79;
$custom-dark: #000000;
JSON
{
  "hex": "#262145",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 248.333,
    "s": 35.294,
    "l": 20
  },
  "oklch": {
    "l": 0.27336,
    "c": 0.06506,
    "h": 287.7
  },
  "luminance": 0.01929
}

Semantic roles & 50–950 ramp

primary
#262145
secondary
#727949
accent
#CB5CBC
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #262145

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

Preview Lab → · Contrast checker → · Palette generator →

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