#262F63#262F63

#262F63 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.092 H 272.9°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#262F63
RGBrgb(38, 47, 99)
HSLhsl(231, 45%, 27%)
HSVhsv(231, 62%, 39%)
CMYKcmyk(61.6%, 52.5%, 0%, 61.2%)
CIE-LABlab(21.38, 13.77, -32.06)
CIE-LCHlch(21.38, 34.90, 293.25°)
OKLaboklab(32.74% 0.0047 -0.0916)
OKLCHoklch(32.74% 0.092 272.9)
XYZxyz(4.0672, 3.3456, 12.2334)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F63 #635A26
analogous
#264E63 #262F63 #3C2663
triadic
#262F63 #63262F #2F6326
tetradic
#262F63 #63264E #635A26 #26633C
square
#262F63 #63264E #635A26 #26633C
split-complementary
#262F63 #633C26 #4E6326
monochromatic
#080A16 #151A37 #262F63 #37448F #4A5AB9

Accessibility & contrast

On white

12.58
#262F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#262F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F63
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F63#FFFFFF#000000##FFFFFF
##262F631.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153665
Deuteranopia (green-blind)
#0A3162
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262f63;
/* rgb */ color: rgb(38, 47, 99);
/* oklch */ color: oklch(32.7% 0.092 272.9);
Tailwind
colors: {
  custom: {
    50: '#666790',
    500: '#262f63',
    950: '#000000',
  },
}
SCSS
$custom: #262f63;
$custom-light: #666790;
$custom-dark: #000000;
JSON
{
  "hex": "#262f63",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 231.148,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32744,
    "c": 0.09174,
    "h": 272.9
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#262F63
secondary
#968C4F
accent
#C154D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #262F63

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

Preview Lab → · Contrast checker → · Palette generator →

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