#262B4F#262B4F

#262B4F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.065 H 275.8°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#262B4F
RGBrgb(38, 43, 79)
HSLhsl(233, 35%, 23%)
HSVhsv(233, 52%, 31%)
CMYKcmyk(51.9%, 45.6%, 0%, 69%)
CIE-LABlab(18.82, 9.23, -22.87)
CIE-LCHlch(18.82, 24.67, 291.97°)
OKLaboklab(30.36% 0.0066 -0.0647)
OKLCHoklch(30.36% 0.065 275.8)
XYZxyz(3.0741, 2.7042, 7.7556)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B4F #4F4A26
analogous
#263F4F #262B4F #35264F
triadic
#262B4F #4F262B #2B4F26
tetradic
#262B4F #4F263F #4F4A26 #264F35
square
#262B4F #4F263F #4F4A26 #264F35
split-complementary
#262B4F #4F3526 #3F4F26
monochromatic
#0A0B15 #121526 #262B4F #3A4178 #4E58A2

Accessibility & contrast

On white

13.63
#262B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#262B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B4F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B4F#FFFFFF#000000##FFFFFF
##262B4F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F50
Deuteranopia (green-blind)
#1A2C4E
Tritanopia (blue-blind)
#173339
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #262b4f;
/* rgb */ color: rgb(38, 43, 79);
/* oklch */ color: oklch(30.4% 0.065 275.8);
Tailwind
colors: {
  custom: {
    50: '#636480',
    500: '#262b4f',
    950: '#000000',
  },
}
SCSS
$custom: #262b4f;
$custom-light: #636480;
$custom-dark: #000000;
JSON
{
  "hex": "#262b4f",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 232.683,
    "s": 35.043,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30362,
    "c": 0.06504,
    "h": 275.8
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#262B4F
secondary
#827C4F
accent
#BE5DCB
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#05050A
muted
#7A797C

Preview Lab

Preview with #262B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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