#0F265C#0F265C

#0F265C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.101 H 263.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#0F265C
RGBrgb(15, 38, 92)
HSLhsl(222, 72%, 21%)
HSVhsv(222, 84%, 36%)
CMYKcmyk(83.7%, 58.7%, 0%, 63.9%)
CIE-LABlab(16.80, 13.44, -34.91)
CIE-LCHlch(16.80, 37.41, 291.06°)
OKLaboklab(28.75% -0.011 -0.1007)
OKLCHoklch(28.75% 0.101 263.8)
XYZxyz(2.8212, 2.2602, 10.4107)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F265C #5C450F
analogous
#0F4C5C #0F265C #1E0F5C
triadic
#0F265C #5C0F26 #265C0F
tetradic
#0F265C #5C0F4C #5C450F #0F5C1E
square
#0F265C #5C0F4C #5C450F #0F5C1E
split-complementary
#0F265C #5C1E0F #4C5C0F
monochromatic
#040B1A #061027 #0F265C #183C91 #2051C5

Accessibility & contrast

On white

14.46
#0F265C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F265C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F265C
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F265C#FFFFFF#000000##FFFFFF
##0F265C1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f265c;
/* rgb */ color: rgb(15, 38, 92);
/* oklch */ color: oklch(28.8% 0.101 263.8);
Tailwind
colors: {
  custom: {
    50: '#5b5f8b',
    500: '#0f265c',
    950: '#000000',
  },
}
SCSS
$custom: #0f265c;
$custom-light: #5b5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f265c",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 222.078,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28752,
    "c": 0.10127,
    "h": 263.8
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#0F265C
secondary
#957831
accent
#B839EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F265C

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

Preview Lab → · Contrast checker → · Palette generator →

#0F265C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva