#0F2768#0F2768

#0F2768 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.118 H 264.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#0F2768
RGBrgb(15, 39, 104)
HSLhsl(224, 75%, 23%)
HSVhsv(224, 86%, 41%)
CMYKcmyk(85.6%, 62.5%, 0%, 59.2%)
CIE-LABlab(18.15, 17.87, -40.62)
CIE-LCHlch(18.15, 44.38, 293.75°)
OKLaboklab(30.1% -0.0109 -0.1174)
OKLCHoklch(30.1% 0.118 264.7)
XYZxyz(3.4203, 2.5517, 13.4063)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2768 #68500F
analogous
#0F5368 #0F2768 #230F68
triadic
#0F2768 #680F27 #27680F
tetradic
#0F2768 #680F53 #68500F #0F6823
square
#0F2768 #680F53 #68500F #0F6823
split-complementary
#0F2768 #68230F #53680F
monochromatic
#040A1B #071333 #0F2768 #173B9D #1E4FD3

Accessibility & contrast

On white

13.90
#0F2768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2768
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2768#FFFFFF#000000##FFFFFF
##0F27681.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2768;
/* rgb */ color: rgb(15, 39, 104);
/* oklch */ color: oklch(30.1% 0.118 264.7);
Tailwind
colors: {
  custom: {
    50: '#5f6094',
    500: '#0f2768',
    950: '#000000',
  },
}
SCSS
$custom: #0f2768;
$custom-light: #5f6094;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2768",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 223.82,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.301,
    "c": 0.11794,
    "h": 264.7
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#0F2768
secondary
#A18332
accent
#BF36F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2768

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

Preview Lab → · Contrast checker → · Palette generator →

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