#0F2762#0F2762

#0F2762 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.109 H 264.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#0F2762
RGBrgb(15, 39, 98)
HSLhsl(223, 73%, 22%)
HSVhsv(223, 85%, 38%)
CMYKcmyk(84.7%, 60.2%, 0%, 61.6%)
CIE-LABlab(17.62, 15.30, -37.55)
CIE-LCHlch(17.62, 40.54, 292.17°)
OKLaboklab(29.53% -0.0113 -0.1084)
OKLCHoklch(29.53% 0.109 264.1)
XYZxyz(3.1263, 2.4341, 11.8580)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2762 #624A0F
analogous
#0F5062 #0F2762 #210F62
triadic
#0F2762 #620F27 #27620F
tetradic
#0F2762 #620F50 #624A0F #0F6221
square
#0F2762 #620F50 #624A0F #0F6221
split-complementary
#0F2762 #62210F #50620F
monochromatic
#040B1B #07122D #0F2762 #173C97 #1F51CC

Accessibility & contrast

On white

14.12
#0F2762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2762
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2762#FFFFFF#000000##FFFFFF
##0F27621.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2762;
/* rgb */ color: rgb(15, 39, 98);
/* oklch */ color: oklch(29.5% 0.109 264.1);
Tailwind
colors: {
  custom: {
    50: '#5d608f',
    500: '#0f2762',
    950: '#000000',
  },
}
SCSS
$custom: #0f2762;
$custom-light: #5d608f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2762",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 222.651,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29533,
    "c": 0.10899,
    "h": 264.1
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#0F2762
secondary
#9B7D32
accent
#BB38F0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F2762

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

Preview Lab → · Contrast checker → · Palette generator →

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