#0F2565#0F2565

#0F2565 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.116 H 265.2°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#0F2565
RGBrgb(15, 37, 101)
HSLhsl(225, 74%, 23%)
HSVhsv(225, 85%, 40%)
CMYKcmyk(85.1%, 63.4%, 0%, 60.4%)
CIE-LABlab(17.29, 18.07, -40.05)
CIE-LCHlch(17.29, 43.94, 294.28°)
OKLaboklab(29.37% -0.0097 -0.1158)
OKLCHoklch(29.37% 0.116 265.2)
XYZxyz(3.2067, 2.3639, 12.5967)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2565 #654F0F
analogous
#0F5065 #0F2565 #240F65
triadic
#0F2565 #650F25 #25650F
tetradic
#0F2565 #650F50 #654F0F #0F6524
square
#0F2565 #650F50 #654F0F #0F6524
split-complementary
#0F2565 #65240F #50650F
monochromatic
#040A1B #071130 #0F2565 #17399A #1F4CD0

Accessibility & contrast

On white

14.26
#0F2565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2565
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2565#FFFFFF#000000##FFFFFF
##0F25651.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2565;
/* rgb */ color: rgb(15, 37, 101);
/* oklch */ color: oklch(29.4% 0.116 265.2);
Tailwind
colors: {
  custom: {
    50: '#5e5f92',
    500: '#0f2565',
    950: '#000000',
  },
}
SCSS
$custom: #0f2565;
$custom-light: #5e5f92;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2565",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 101
  },
  "hsl": {
    "h": 224.651,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.11621,
    "h": 265.2
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#0F2565
secondary
#9E8232
accent
#C137F1
background
#F5F5F9
surface
#EAE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2565

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

Preview Lab → · Contrast checker → · Palette generator →

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