#262B62#262B62

#262B62 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.096 H 275.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#262B62
RGBrgb(38, 43, 98)
HSLhsl(235, 44%, 27%)
HSVhsv(235, 61%, 38%)
CMYKcmyk(61.2%, 56.1%, 0%, 61.6%)
CIE-LABlab(20.13, 16.24, -33.42)
CIE-LCHlch(20.13, 37.15, 295.92°)
OKLaboklab(31.78% 0.0094 -0.0956)
OKLCHoklch(31.78% 0.096 275.6)
XYZxyz(3.8671, 3.0214, 11.9323)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B62 #625D26
analogous
#264962 #262B62 #3F2662
triadic
#262B62 #62262B #2B6226
tetradic
#262B62 #622649 #625D26 #26623F
square
#262B62 #622649 #625D26 #26623F
split-complementary
#262B62 #623F26 #496226
monochromatic
#090A16 #151836 #262B62 #373E8E #4A53B9

Accessibility & contrast

On white

13.09
#262B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#262B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B62
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B62#FFFFFF#000000##FFFFFF
##262B621.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3364
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#023842
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262b62;
/* rgb */ color: rgb(38, 43, 98);
/* oklch */ color: oklch(31.8% 0.096 275.6);
Tailwind
colors: {
  custom: {
    50: '#67648f',
    500: '#262b62',
    950: '#000000',
  },
}
SCSS
$custom: #262b62;
$custom-light: #67648f;
$custom-dark: #000000;
JSON
{
  "hex": "#262b62",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 235,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31778,
    "c": 0.09611,
    "h": 275.6
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#262B62
secondary
#958F4F
accent
#C954D4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #262B62

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

Preview Lab → · Contrast checker → · Palette generator →

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