#0F2362#0F2362

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

Color values

HEX#0F2362
RGBrgb(15, 35, 98)
HSLhsl(226, 73%, 22%)
HSVhsv(226, 85%, 38%)
CMYKcmyk(84.7%, 64.3%, 0%, 61.6%)
CIE-LABlab(16.43, 18.26, -39.48)
CIE-LCHlch(16.43, 43.50, 294.82°)
OKLaboklab(28.64% -0.0084 -0.1142)
OKLCHoklch(28.64% 0.114 265.8)
XYZxyz(3.0019, 2.1851, 11.8165)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2362 #624E0F
analogous
#0F4D62 #0F2362 #250F62
triadic
#0F2362 #620F23 #23620F
tetradic
#0F2362 #620F4D #624E0F #0F6225
square
#0F2362 #620F4D #624E0F #0F6225
split-complementary
#0F2362 #62250F #4D620F
monochromatic
#04091B #07102D #0F2362 #173697 #1F49CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F2362#FFFFFF#000000##FFFFFF
##0F23621.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)
#002D64
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f2362;
/* rgb */ color: rgb(15, 35, 98);
/* oklch */ color: oklch(28.6% 0.114 265.8);
Tailwind
colors: {
  custom: {
    50: '#5e5d8f',
    500: '#0f2362',
    950: '#000000',
  },
}
SCSS
$custom: #0f2362;
$custom-light: #5e5d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2362",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 225.542,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28643,
    "c": 0.11448,
    "h": 265.8
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#0F2362
secondary
#9B8232
accent
#C438F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2362

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

Preview Lab → · Contrast checker → · Palette generator →

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