#0F2262#0F2262

#0F2262 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.116 H 266.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0F2262
RGBrgb(15, 34, 98)
HSLhsl(226, 73%, 22%)
HSVhsv(226, 85%, 38%)
CMYKcmyk(84.7%, 65.3%, 0%, 61.6%)
CIE-LABlab(16.14, 19.00, -39.96)
CIE-LCHlch(16.14, 44.24, 295.43°)
OKLaboklab(28.43% -0.0077 -0.1156)
OKLCHoklch(28.43% 0.116 266.2)
XYZxyz(2.9729, 2.1271, 11.8068)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2262 #624F0F
analogous
#0F4C62 #0F2262 #260F62
triadic
#0F2262 #620F22 #22620F
tetradic
#0F2262 #620F4C #624F0F #0F6226
square
#0F2262 #620F4C #624F0F #0F6226
split-complementary
#0F2262 #62260F #4C620F
monochromatic
#04091B #07102D #0F2262 #173497 #1F47CC

Accessibility & contrast

On white

14.73
#0F2262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2262
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2262#FFFFFF#000000##FFFFFF
##0F22621.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002461
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2262;
/* rgb */ color: rgb(15, 34, 98);
/* oklch */ color: oklch(28.4% 0.116 266.2);
Tailwind
colors: {
  custom: {
    50: '#5e5c8f',
    500: '#0f2262',
    950: '#000000',
  },
}
SCSS
$custom: #0f2262;
$custom-light: #5e5c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2262",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 226.265,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28428,
    "c": 0.11583,
    "h": 266.2
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#0F2262
secondary
#9B8332
accent
#C638F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2262

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

Preview Lab → · Contrast checker → · Palette generator →

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