#0F2E68#0F2E68

#0F2E68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.108 H 261.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#0F2E68
RGBrgb(15, 46, 104)
HSLhsl(219, 75%, 23%)
HSVhsv(219, 86%, 41%)
CMYKcmyk(85.6%, 55.8%, 0%, 59.2%)
CIE-LABlab(20.26, 12.73, -37.19)
CIE-LCHlch(20.26, 39.30, 288.89°)
OKLaboklab(31.69% -0.0161 -0.1072)
OKLCHoklch(31.69% 0.108 261.5)
XYZxyz(3.6718, 3.0546, 13.4901)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E68 #68490F
analogous
#0F5A68 #0F2E68 #1C0F68
triadic
#0F2E68 #680F2E #2E680F
tetradic
#0F2E68 #680F5A #68490F #0F681C
square
#0F2E68 #680F5A #68490F #0F681C
split-complementary
#0F2E68 #681C0F #5A680F
monochromatic
#040C1B #071633 #0F2E68 #17469D #1E5DD3

Accessibility & contrast

On white

13.04
#0F2E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F2E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E68
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E68#FFFFFF#000000##FFFFFF
##0F2E681.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04356A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2e68;
/* rgb */ color: rgb(15, 46, 104);
/* oklch */ color: oklch(31.7% 0.108 261.5);
Tailwind
colors: {
  custom: {
    50: '#5e6694',
    500: '#0f2e68',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e68;
$custom-light: #5e6694;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e68",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 219.101,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31693,
    "c": 0.1084,
    "h": 261.5
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#0F2E68
secondary
#A17A32
accent
#B036F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05050D
muted
#797A7E

Preview Lab

Preview with #0F2E68

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

Preview Lab → · Contrast checker → · Palette generator →

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