#0F256A#0F256A

#0F256A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 29.9% C 0.124 H 265.5°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#0F256A
RGBrgb(15, 37, 106)
HSLhsl(225, 75%, 24%)
HSVhsv(225, 86%, 42%)
CMYKcmyk(85.8%, 65.1%, 0%, 58.4%)
CIE-LABlab(17.76, 20.18, -42.56)
CIE-LCHlch(17.76, 47.11, 295.37°)
OKLaboklab(29.87% -0.0096 -0.1232)
OKLCHoklch(29.87% 0.124 265.5)
XYZxyz(3.4592, 2.4649, 13.9263)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F256A #6A540F
analogous
#0F526A #0F256A #260F6A
triadic
#0F256A #6A0F25 #256A0F
tetradic
#0F256A #6A0F52 #6A540F #0F6A26
square
#0F256A #6A0F52 #6A540F #0F6A26
split-complementary
#0F256A #6A260F #526A0F
monochromatic
#04091B #071234 #0F256A #1738A0 #1E4AD5

Accessibility & contrast

On white

14.07
#0F256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0F256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F256A
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F256A#FFFFFF#000000##FFFFFF
##0F256A1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f256a;
/* rgb */ color: rgb(15, 37, 106);
/* oklch */ color: oklch(29.9% 0.124 265.5);
Tailwind
colors: {
  custom: {
    50: '#605f95',
    500: '#0f256a',
    950: '#000000',
  },
}
SCSS
$custom: #0f256a;
$custom-light: #605f95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f256a",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 225.495,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29865,
    "c": 0.12353,
    "h": 265.5
  },
  "luminance": 0.02465
}

Semantic roles & 50–950 ramp

primary
#0F256A
secondary
#A28732
accent
#C436F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F256A

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

Preview Lab → · Contrast checker → · Palette generator →

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