#0F2265#0F2265

#0F2265 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.7% C 0.120 H 266.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#0F2265
RGBrgb(15, 34, 101)
HSLhsl(227, 74%, 23%)
HSVhsv(227, 85%, 40%)
CMYKcmyk(85.1%, 66.3%, 0%, 60.4%)
CIE-LABlab(16.43, 20.27, -41.46)
CIE-LCHlch(16.43, 46.15, 296.05°)
OKLaboklab(28.73% -0.0077 -0.12)
OKLCHoklch(28.73% 0.12 266.3)
XYZxyz(3.1172, 2.1848, 12.5668)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2265 #65520F
analogous
#0F4D65 #0F2265 #270F65
triadic
#0F2265 #650F22 #22650F
tetradic
#0F2265 #650F4D #65520F #0F6527
square
#0F2265 #650F4D #65520F #0F6527
split-complementary
#0F2265 #65270F #4D650F
monochromatic
#04091B #071030 #0F2265 #17349A #1F46D0

Accessibility & contrast

On white

14.61
#0F2265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0F2265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2265
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2265#FFFFFF#000000##FFFFFF
##0F22651.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2265;
/* rgb */ color: rgb(15, 34, 101);
/* oklch */ color: oklch(28.7% 0.120 266.3);
Tailwind
colors: {
  custom: {
    50: '#5f5c92',
    500: '#0f2265',
    950: '#000000',
  },
}
SCSS
$custom: #0f2265;
$custom-light: #5f5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2265",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 226.744,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28731,
    "c": 0.12023,
    "h": 266.3
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#0F2265
secondary
#9E8632
accent
#C837F1
background
#F5F5F9
surface
#EAE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2265

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

Preview Lab → · Contrast checker → · Palette generator →

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