#0F265A#0F265A

#0F265A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.098 H 263.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#0F265A
RGBrgb(15, 38, 90)
HSLhsl(222, 71%, 21%)
HSVhsv(222, 83%, 35%)
CMYKcmyk(83.3%, 57.8%, 0%, 64.7%)
CIE-LABlab(16.63, 12.57, -33.85)
CIE-LCHlch(16.63, 36.10, 290.38°)
OKLaboklab(28.57% -0.0112 -0.0975)
OKLCHoklch(28.57% 0.098 263.5)
XYZxyz(2.7349, 2.2257, 9.9563)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F265A #5A430F
analogous
#0F4B5A #0F265A #1D0F5A
triadic
#0F265A #5A0F26 #265A0F
tetradic
#0F265A #5A0F4B #5A430F #0F5A1D
square
#0F265A #5A0F4B #5A430F #0F5A1D
split-complementary
#0F265A #5A1D0F #4B5A0F
monochromatic
#040B1A #061026 #0F265A #183C8E #2052C3

Accessibility & contrast

On white

14.53
#0F265A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F265A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F265A#FFFFFF#000000##FFFFFF
##0F265A1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f265a;
/* rgb */ color: rgb(15, 38, 90);
/* oklch */ color: oklch(28.6% 0.098 263.5);
Tailwind
colors: {
  custom: {
    50: '#5b5f89',
    500: '#0f265a',
    950: '#000000',
  },
}
SCSS
$custom: #0f265a;
$custom-light: #5b5f89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f265a",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 90
  },
  "hsl": {
    "h": 221.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28572,
    "c": 0.09819,
    "h": 263.5
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#0F265A
secondary
#947531
accent
#B73AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F265A

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

Preview Lab → · Contrast checker → · Palette generator →

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