#0F2B4B#0F2B4B

#0F2B4B is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.6% C 0.068 H 253.8°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#0F2B4B
RGBrgb(15, 43, 75)
HSLhsl(212, 67%, 18%)
HSVhsv(212, 80%, 29%)
CMYKcmyk(80%, 42.7%, 0%, 70.6%)
CIE-LABlab(17.17, 2.30, -22.88)
CIE-LCHlch(17.17, 22.99, 275.75°)
OKLaboklab(28.63% -0.019 -0.0652)
OKLCHoklch(28.63% 0.068 253.8)
XYZxyz(2.3304, 2.3371, 6.9835)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B4B #4B2F0F
analogous
#0F494B #0F2B4B #110F4B
triadic
#0F2B4B #4B0F2B #2B4B0F
tetradic
#0F2B4B #4B0F49 #4B2F0F #0F4B11
square
#0F2B4B #4B0F49 #4B2F0F #0F4B11
split-complementary
#0F2B4B #4B110F #494B0F
monochromatic
#050F1A #050F1A #0F2B4B #19487E #2365B1

Accessibility & contrast

On white

14.31
#0F2B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B4B
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B4B#FFFFFF#000000##FFFFFF
##0F2B4B1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4C
Deuteranopia (green-blind)
#13284A
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2b4b;
/* rgb */ color: rgb(15, 43, 75);
/* oklch */ color: oklch(28.6% 0.068 253.8);
Tailwind
colors: {
  custom: {
    50: '#57637d',
    500: '#0f2b4b',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b4b;
$custom-light: #57637d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b4b",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 212,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28629,
    "c": 0.0679,
    "h": 253.8
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#0F2B4B
secondary
#855E30
accent
#9A3EEA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#030509
muted
#78797B

Preview Lab

Preview with #0F2B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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