#262B63#262B63

#262B63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.098 H 275.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#262B63
RGBrgb(38, 43, 99)
HSLhsl(235, 45%, 27%)
HSVhsv(235, 62%, 39%)
CMYKcmyk(61.6%, 56.6%, 0%, 61.2%)
CIE-LABlab(20.20, 16.62, -33.95)
CIE-LCHlch(20.20, 37.80, 296.08°)
OKLaboklab(31.86% 0.0094 -0.0972)
OKLCHoklch(31.86% 0.098 275.5)
XYZxyz(3.9146, 3.0404, 12.1825)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B63 #635E26
analogous
#264A63 #262B63 #402663
triadic
#262B63 #63262B #2B6326
tetradic
#262B63 #63264A #635E26 #266340
square
#262B63 #63264A #635E26 #266340
split-complementary
#262B63 #634026 #4A6326
monochromatic
#080A16 #151837 #262B63 #373E8F #4A53B9

Accessibility & contrast

On white

13.06
#262B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#262B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B63
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B63#FFFFFF#000000##FFFFFF
##262B631.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#013842
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262b63;
/* rgb */ color: rgb(38, 43, 99);
/* oklch */ color: oklch(31.9% 0.098 275.5);
Tailwind
colors: {
  custom: {
    50: '#676490',
    500: '#262b63',
    950: '#000000',
  },
}
SCSS
$custom: #262b63;
$custom-light: #676490;
$custom-dark: #000000;
JSON
{
  "hex": "#262b63",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 235.082,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31859,
    "c": 0.09768,
    "h": 275.5
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#262B63
secondary
#96904F
accent
#CA54D4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #262B63

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

Preview Lab → · Contrast checker → · Palette generator →

#262B63 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva