#254A77#254A77

#254A77 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.087 H 254.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#254A77
RGBrgb(37, 74, 119)
HSLhsl(213, 53%, 31%)
HSVhsv(213, 69%, 47%)
CMYKcmyk(68.9%, 37.8%, 0%, 53.3%)
CIE-LABlab(30.93, 2.60, -29.62)
CIE-LCHlch(30.93, 29.74, 275.02°)
OKLaboklab(40.5% -0.0232 -0.0841)
OKLCHoklch(40.5% 0.087 254.5)
XYZxyz(6.5403, 6.6221, 18.3827)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A77 #775225
analogous
#257377 #254A77 #292577
triadic
#254A77 #77254A #4A7725
tetradic
#254A77 #772573 #775225 #257729
square
#254A77 #772573 #775225 #257729
split-complementary
#254A77 #772925 #737725
monochromatic
#08101A #162D48 #254A77 #3467A6 #4E85C8

Accessibility & contrast

On white

9.03
#254A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#254A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A77
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A77#FFFFFF#000000##FFFFFF
##254A771.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D79
Deuteranopia (green-blind)
#2B4576
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254a77;
/* rgb */ color: rgb(37, 74, 119);
/* oklch */ color: oklch(40.5% 0.087 254.5);
Tailwind
colors: {
  custom: {
    50: '#697c9e',
    500: '#254a77',
    950: '#000000',
  },
}
SCSS
$custom: #254a77;
$custom-light: #697c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#254a77",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 119
  },
  "hsl": {
    "h": 212.927,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.08726,
    "h": 254.5
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#254A77
secondary
#A9804E
accent
#9B4CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254A77

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

Preview Lab → · Contrast checker → · Palette generator →

#254A77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva